dddc8afd284b2f79dc7c71af65c5402cf0012584
[EVA-2020-02-2.git] / library / setup.cfg
1 # -*- coding: utf-8 -*-
2 [metadata]
3 name = enviroplus
4 version = 0.0.3
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
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
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
28
29 [options]
30 packages = enviroplus
31 install_requires =
32 pimoroni-bme280
33 pms5003
34 ltr559
35 st7735
36 ads1015
37 fonts
38 font-roboto
39 astral
40 pytz
41 sounddevice
42
43 [flake8]
44 exclude =
45 .tox,
46 .eggs,
47 .git,
48 __pycache__,
49 build,
50 dist
51 ignore =
52 E501
53
54 [pimoroni]
55 py2deps =
56 python-pip
57 python-numpy
58 python-smbus
59 python-pil
60 python-spidev
61 python-rpi.gpio
62 libportaudio2
63 py3deps =
64 python3-pip
65 python3-numpy
66 python3-smbus
67 python3-pil
68 python3-spidev
69 python3-rpi.gpio
70 libportaudio2
71 configtxt =
72 dtoverlay=pi3-miniuart-bt
73 dtoverlay=adau7002-simple
74 commands =
75 printf "Setting up i2c and SPI..\n"
76 raspi-config nonint do_spi 0
77 raspi-config nonint do_i2c 0
78 printf "Setting up serial for PMS5003..\n"
79 raspi-config nonint do_serial 1 # Disable serial terminal over /dev/ttyAMA0
80 raspi-config nonint set_config_var enable_uart 1 $CONFIG # Enable serial port