Mercurial > personal > weatherlog
annotate setup.py @ 18:9daa281d996b
Add a HTTP timeout, and verify the server response.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Thu, 16 Jan 2020 23:52:30 -0500 |
parents | 39c0686e6765 |
children | 7117db65715e |
rev | line source |
---|---|
7 | 1 import setuptools |
2 | |
3 setuptools.setup( | |
8
a47bf21e89bf
Fix setuptools/pip metadata to be consistent+complete.
Paul Fisher <paul@pfish.zone>
parents:
7
diff
changeset
|
4 name='weatherlog', |
18
9daa281d996b
Add a HTTP timeout, and verify the server response.
Paul Fisher <paul@pfish.zone>
parents:
17
diff
changeset
|
5 version='0.2.1', |
8
a47bf21e89bf
Fix setuptools/pip metadata to be consistent+complete.
Paul Fisher <paul@pfish.zone>
parents:
7
diff
changeset
|
6 packages=setuptools.find_packages(), |
7 | 7 python_requires='>=3.7', |
8 install_requires=[ | |
9
d8f38d992387
setup: Try adding setup_requires=wheel?
Paul Fisher <paul@pfish.zone>
parents:
8
diff
changeset
|
9 'adafruit-blinka', |
d8f38d992387
setup: Try adding setup_requires=wheel?
Paul Fisher <paul@pfish.zone>
parents:
8
diff
changeset
|
10 'adafruit-circuitpython-dht', |
7 | 11 'attrs', |
12 'pymongo', | |
13 'pytz', | |
10
b1657de734d5
Add HTTPWriter, which actually writes over HTTP.
Paul Fisher <paul@pfish.zone>
parents:
9
diff
changeset
|
14 'requests', |
15
b5625b531d2d
Add support for BME280 temperature sensor over i2c.
Paul Fisher <paul@pfish.zone>
parents:
13
diff
changeset
|
15 'RPi.bme280', |
b5625b531d2d
Add support for BME280 temperature sensor over i2c.
Paul Fisher <paul@pfish.zone>
parents:
13
diff
changeset
|
16 'smbus2', |
17
39c0686e6765
daemon: Change to executing from a config file.
Paul Fisher <paul@pfish.zone>
parents:
15
diff
changeset
|
17 'toml', |
7 | 18 ], |
9
d8f38d992387
setup: Try adding setup_requires=wheel?
Paul Fisher <paul@pfish.zone>
parents:
8
diff
changeset
|
19 setup_requires=['wheel'], |
17
39c0686e6765
daemon: Change to executing from a config file.
Paul Fisher <paul@pfish.zone>
parents:
15
diff
changeset
|
20 entry_points={ |
39c0686e6765
daemon: Change to executing from a config file.
Paul Fisher <paul@pfish.zone>
parents:
15
diff
changeset
|
21 'console_scripts': [ |
39c0686e6765
daemon: Change to executing from a config file.
Paul Fisher <paul@pfish.zone>
parents:
15
diff
changeset
|
22 'weatherlogd = weatherlog.daemon:main', |
39c0686e6765
daemon: Change to executing from a config file.
Paul Fisher <paul@pfish.zone>
parents:
15
diff
changeset
|
23 ] |
39c0686e6765
daemon: Change to executing from a config file.
Paul Fisher <paul@pfish.zone>
parents:
15
diff
changeset
|
24 } |
7 | 25 ) |