Mercurial > personal > weather-server
annotate setup.py @ 21:beb42c835c52
Make weather server handle arbitrary data:
- Make logfile record arbitrary BSONs
- Make server handlers OK with same
- Make location type a normal class rather than attrs;
have it handle its own logger.
- Bump version number.
| author | Paul Fisher <paul@pfish.zone> |
|---|---|
| date | Sat, 19 Oct 2019 18:40:48 -0400 |
| parents | a7fe635d1c88 |
| children | e229afdd447b |
| rev | line source |
|---|---|
|
4
e7c8dcc5fc15
Make the weather server pip-installable and locally runnable.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
1 import setuptools |
|
e7c8dcc5fc15
Make the weather server pip-installable and locally runnable.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
2 |
|
e7c8dcc5fc15
Make the weather server pip-installable and locally runnable.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
3 setuptools.setup( |
|
e7c8dcc5fc15
Make the weather server pip-installable and locally runnable.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
4 name='weather-server', |
|
21
beb42c835c52
Make weather server handle arbitrary data:
Paul Fisher <paul@pfish.zone>
parents:
20
diff
changeset
|
5 version='0.0.6', |
|
4
e7c8dcc5fc15
Make the weather server pip-installable and locally runnable.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
6 packages=setuptools.find_packages(), |
|
e7c8dcc5fc15
Make the weather server pip-installable and locally runnable.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
7 python_requires='>=3.7', |
|
e7c8dcc5fc15
Make the weather server pip-installable and locally runnable.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
8 install_requires=[ |
|
e7c8dcc5fc15
Make the weather server pip-installable and locally runnable.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
9 'attrs', |
|
e7c8dcc5fc15
Make the weather server pip-installable and locally runnable.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
10 'flask', |
|
e7c8dcc5fc15
Make the weather server pip-installable and locally runnable.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
11 'flup', |
|
e7c8dcc5fc15
Make the weather server pip-installable and locally runnable.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
12 'pymongo', |
|
e7c8dcc5fc15
Make the weather server pip-installable and locally runnable.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
13 'pytz', |
|
e7c8dcc5fc15
Make the weather server pip-installable and locally runnable.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
14 ], |
|
e7c8dcc5fc15
Make the weather server pip-installable and locally runnable.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
15 setup_requires=['wheel'], |
|
6
f8c2cb05d643
Include data manifest in setup.py.
Paul Fisher <paul@pfish.zone>
parents:
4
diff
changeset
|
16 include_package_data=True, |
|
4
e7c8dcc5fc15
Make the weather server pip-installable and locally runnable.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
17 ) |
