Commit | Line | Data |
---|---|---|
ab1eb580 | 1 | # -*- coding: utf-8 -*- |
ad2060db | 2 | [metadata] |
ab1eb580 | 3 | name = enviroplus |
97ee1d88 | 4 | version = 0.0.3 |
ab1eb580 PH |
5 | author = Philip Howard |
6 | author_email = phil@pimoroni.com | |
e72e5682 | 7 | description = Enviro pHAT Plus environmental monitoring add-on for Raspberry Pi |
ab1eb580 PH |
8 | long_description = file: README.rst |
9 | keywords = Raspberry Pi | |
10 | url = https://www.pimoroni.com | |
11 | project_urls = | |
12 | GitHub=https://www.github.com/pimoroni/enviroplus-python | |
13 | license = MIT | |
ad2060db PH |
14 | # This includes the license file(s) in the wheel. |
15 | # https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file | |
16 | license_files = LICENSE.txt | |
ab1eb580 PH |
17 | classifiers = |
18 | Development Status :: 4 - Beta | |
19 | Operating System :: POSIX :: Linux | |
20 | License :: OSI Approved :: MIT License | |
21 | Intended Audience :: Developers | |
ab1eb580 PH |
22 | Programming Language :: Python :: 2.7 |
23 | Programming Language :: Python :: 3 | |
24 | Topic :: Software Development | |
25 | Topic :: Software Development :: Libraries | |
26 | Topic :: System :: Hardware | |
ad2060db | 27 | |
d92c5117 | 28 | [options] |
4cc6c622 | 29 | packages = enviroplus |
d92c5117 PH |
30 | install_requires = |
31 | pimoroni-bme280 | |
32 | pms5003 | |
33 | ltr559 | |
34 | st7735 | |
35 | ads1015 | |
97ee1d88 PH |
36 | fonts |
37 | font-roboto | |
38 | astral | |
39 | pytz | |
c440294c | 40 | sounddevice |
f5335ba6 | 41 | paho-mqtt |
d92c5117 | 42 | |
651e1c20 PH |
43 | [flake8] |
44 | exclude = | |
45 | .tox, | |
46 | .eggs, | |
47 | .git, | |
48 | __pycache__, | |
49 | build, | |
50 | dist | |
51 | ignore = | |
52 | E501 | |
ab1eb580 PH |
53 | |
54 | [pimoroni] | |
55 | py2deps = | |
d2be91e6 | 56 | python-pip |
143f413c PH |
57 | python-numpy |
58 | python-smbus | |
d2be91e6 | 59 | python-pil |
0c5c9465 | 60 | python-cffi |
97ee1d88 PH |
61 | python-spidev |
62 | python-rpi.gpio | |
c440294c | 63 | libportaudio2 |
ab1eb580 | 64 | py3deps = |
d2be91e6 | 65 | python3-pip |
143f413c PH |
66 | python3-numpy |
67 | python3-smbus | |
d2be91e6 | 68 | python3-pil |
0c5c9465 | 69 | python3-cffi |
97ee1d88 PH |
70 | python3-spidev |
71 | python3-rpi.gpio | |
c440294c | 72 | libportaudio2 |
ab1eb580 | 73 | configtxt = |
9de0da39 | 74 | dtoverlay=pi3-miniuart-bt |
c0ac7b9f | 75 | dtoverlay=adau7002-simple |
ab1eb580 PH |
76 | commands = |
77 | printf "Setting up i2c and SPI..\n" | |
78 | raspi-config nonint do_spi 0 | |
79 | raspi-config nonint do_i2c 0 | |
80 | printf "Setting up serial for PMS5003..\n" | |
81 | raspi-config nonint do_serial 1 # Disable serial terminal over /dev/ttyAMA0 | |
82 | raspi-config nonint set_config_var enable_uart 1 $CONFIG # Enable serial port |