Commit | Line | Data |
---|---|---|
ab1eb580 | 1 | # -*- coding: utf-8 -*- |
ad2060db | 2 | [metadata] |
ab1eb580 PH |
3 | name = enviroplus |
4 | version = 0.0.1 | |
5 | author = Philip Howard | |
6 | author_email = phil@pimoroni.com | |
7 | description = Enviro pHAT Plus environmental monitoring add-on for Raspberry Pi" | |
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 | |
22 | Programming Language :: Python :: 2.6 | |
23 | Programming Language :: Python :: 2.7 | |
24 | Programming Language :: Python :: 3 | |
25 | Topic :: Software Development | |
26 | Topic :: Software Development :: Libraries | |
27 | Topic :: System :: Hardware | |
ad2060db | 28 | |
d92c5117 PH |
29 | [options] |
30 | install_requires = | |
31 | pimoroni-bme280 | |
32 | pms5003 | |
33 | ltr559 | |
34 | st7735 | |
35 | ads1015 | |
c440294c | 36 | sounddevice |
d92c5117 | 37 | |
651e1c20 PH |
38 | [flake8] |
39 | exclude = | |
40 | .tox, | |
41 | .eggs, | |
42 | .git, | |
43 | __pycache__, | |
44 | build, | |
45 | dist | |
46 | ignore = | |
47 | E501 | |
ab1eb580 PH |
48 | |
49 | [pimoroni] | |
50 | py2deps = | |
d2be91e6 | 51 | python-pip |
143f413c PH |
52 | python-numpy |
53 | python-smbus | |
d2be91e6 | 54 | python-pil |
c440294c | 55 | libportaudio2 |
ab1eb580 | 56 | py3deps = |
d2be91e6 | 57 | python3-pip |
143f413c PH |
58 | python3-numpy |
59 | python3-smbus | |
d2be91e6 | 60 | python3-pil |
c440294c | 61 | libportaudio2 |
ab1eb580 | 62 | configtxt = |
9de0da39 | 63 | dtoverlay=pi3-miniuart-bt |
c0ac7b9f | 64 | dtoverlay=adau7002-simple |
ab1eb580 PH |
65 | commands = |
66 | printf "Setting up i2c and SPI..\n" | |
67 | raspi-config nonint do_spi 0 | |
68 | raspi-config nonint do_i2c 0 | |
69 | printf "Setting up serial for PMS5003..\n" | |
70 | raspi-config nonint do_serial 1 # Disable serial terminal over /dev/ttyAMA0 | |
71 | raspi-config nonint set_config_var enable_uart 1 $CONFIG # Enable serial port |