Merge pull request #57 from pimoroni/test-tweaks-and-linting
[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.7
23 Programming Language :: Python :: 3
24 Topic :: Software Development
25 Topic :: Software Development :: Libraries
26 Topic :: System :: Hardware
27
28 [options]
29 packages = enviroplus
30 install_requires =
31 pimoroni-bme280
32 pms5003
33 ltr559
34 st7735
35 ads1015
36 fonts
37 font-roboto
38 astral
39 pytz
40 sounddevice
41
42 [flake8]
43 exclude =
44 .tox,
45 .eggs,
46 .git,
47 __pycache__,
48 build,
49 dist
50 ignore =
51 E501
52
53 [pimoroni]
54 py2deps =
55 python-pip
56 python-numpy
57 python-smbus
58 python-pil
59 python-spidev
60 python-rpi.gpio
61 libportaudio2
62 py3deps =
63 python3-pip
64 python3-numpy
65 python3-smbus
66 python3-pil
67 python3-spidev
68 python3-rpi.gpio
69 libportaudio2
70 configtxt =
71 dtoverlay=pi3-miniuart-bt
72 dtoverlay=adau7002-simple
73 commands =
74 printf "Setting up i2c and SPI..\n"
75 raspi-config nonint do_spi 0
76 raspi-config nonint do_i2c 0
77 printf "Setting up serial for PMS5003..\n"
78 raspi-config nonint do_serial 1 # Disable serial terminal over /dev/ttyAMA0
79 raspi-config nonint set_config_var enable_uart 1 $CONFIG # Enable serial port