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 | |
651e1c20 PH |
29 | [flake8] |
30 | exclude = | |
31 | .tox, | |
32 | .eggs, | |
33 | .git, | |
34 | __pycache__, | |
35 | build, | |
36 | dist | |
37 | ignore = | |
38 | E501 | |
ab1eb580 PH |
39 | |
40 | [pimoroni] | |
41 | py2deps = | |
d2be91e6 | 42 | python-pip |
143f413c PH |
43 | python-numpy |
44 | python-smbus | |
d2be91e6 | 45 | python-pil |
ab1eb580 | 46 | py3deps = |
d2be91e6 | 47 | python3-pip |
143f413c PH |
48 | python3-numpy |
49 | python3-smbus | |
d2be91e6 | 50 | python3-pil |
ab1eb580 | 51 | configtxt = |
9de0da39 | 52 | dtoverlay=pi3-miniuart-bt |
ab1eb580 PH |
53 | commands = |
54 | printf "Setting up i2c and SPI..\n" | |
55 | raspi-config nonint do_spi 0 | |
56 | raspi-config nonint do_i2c 0 | |
57 | printf "Setting up serial for PMS5003..\n" | |
58 | raspi-config nonint do_serial 1 # Disable serial terminal over /dev/ttyAMA0 | |
59 | raspi-config nonint set_config_var enable_uart 1 $CONFIG # Enable serial port |