-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
60 lines (54 loc) · 1.69 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
from setuptools import setup
from pi_weatherstation import VERSION
# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="pi_weatherstation",
version=VERSION,
description="Read the data from pimoroni BME680 and display on pimoroni SPI screen",
long_description=long_description,
long_description_content_type="text/markdown",
url="http://github.com/guilhermef/pi_weatherstation",
author="Guilherme Souza",
author_email="[email protected]",
license="MIT",
packages=["pi_weatherstation"],
install_requires=[
"async-imgkit<1.0",
"jinja2<3.0",
"asyncio-periodic==2019.2",
"aioprometheus[aiohttp]<21.0",
"Pillow<9.0",
],
extras_require={
"st7789": [
"st7789<1.0",
"numpy<2.0",
"spidev<4.0",
"RPi.GPIO<1.0",
],
"bme680": [
"bme680<2.0",
"smbus==1.1.post2",
],
},
zip_safe=False,
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Framework :: AsyncIO",
"Operating System :: POSIX :: Linux",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
],
entry_points={
"console_scripts": ["pi_weatherstation=pi_weatherstation.cli:main"],
},
)