Mercurial > personal > weatherlog
annotate setup.py @ 21:1ae7bd2566ef
Add a sleep immediately after opening the i2c bus.
| author | Paul Fisher <paul@pfish.zone> |
|---|---|
| date | Sat, 29 Jul 2023 20:33:41 -0400 |
| parents | 92367b644e29 |
| children | 36ab505bc0a6 |
| 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', |
|
20
92367b644e29
Remove support for DHT22 to remove native dependencies.
Paul Fisher <paul@pfish.zone>
parents:
19
diff
changeset
|
5 version='0.3.0', |
|
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 'attrs', | |
| 10 'pymongo', | |
| 11 'pytz', | |
|
10
b1657de734d5
Add HTTPWriter, which actually writes over HTTP.
Paul Fisher <paul@pfish.zone>
parents:
9
diff
changeset
|
12 'requests', |
|
15
b5625b531d2d
Add support for BME280 temperature sensor over i2c.
Paul Fisher <paul@pfish.zone>
parents:
13
diff
changeset
|
13 'RPi.bme280', |
|
b5625b531d2d
Add support for BME280 temperature sensor over i2c.
Paul Fisher <paul@pfish.zone>
parents:
13
diff
changeset
|
14 'smbus2', |
|
17
39c0686e6765
daemon: Change to executing from a config file.
Paul Fisher <paul@pfish.zone>
parents:
15
diff
changeset
|
15 'toml', |
| 7 | 16 ], |
|
9
d8f38d992387
setup: Try adding setup_requires=wheel?
Paul Fisher <paul@pfish.zone>
parents:
8
diff
changeset
|
17 setup_requires=['wheel'], |
|
17
39c0686e6765
daemon: Change to executing from a config file.
Paul Fisher <paul@pfish.zone>
parents:
15
diff
changeset
|
18 entry_points={ |
|
39c0686e6765
daemon: Change to executing from a config file.
Paul Fisher <paul@pfish.zone>
parents:
15
diff
changeset
|
19 'console_scripts': [ |
|
39c0686e6765
daemon: Change to executing from a config file.
Paul Fisher <paul@pfish.zone>
parents:
15
diff
changeset
|
20 'weatherlogd = weatherlog.daemon:main', |
|
39c0686e6765
daemon: Change to executing from a config file.
Paul Fisher <paul@pfish.zone>
parents:
15
diff
changeset
|
21 ] |
|
39c0686e6765
daemon: Change to executing from a config file.
Paul Fisher <paul@pfish.zone>
parents:
15
diff
changeset
|
22 } |
| 7 | 23 ) |
