Test tweaks and linting
[EVA-2020-02-2.git] / library / setup.cfg
CommitLineData
ab1eb580 1# -*- coding: utf-8 -*-
ad2060db 2[metadata]
ab1eb580 3name = enviroplus
97ee1d88 4version = 0.0.3
ab1eb580
PH
5author = Philip Howard
6author_email = phil@pimoroni.com
7description = Enviro pHAT Plus environmental monitoring add-on for Raspberry Pi"
8long_description = file: README.rst
9keywords = Raspberry Pi
10url = https://www.pimoroni.com
11project_urls =
12 GitHub=https://www.github.com/pimoroni/enviroplus-python
13license = 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
16license_files = LICENSE.txt
ab1eb580
PH
17classifiers =
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]
30install_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
d92c5117 41
651e1c20
PH
42[flake8]
43exclude =
44 .tox,
45 .eggs,
46 .git,
47 __pycache__,
48 build,
49 dist
50ignore =
51 E501
ab1eb580
PH
52
53[pimoroni]
54py2deps =
d2be91e6 55 python-pip
143f413c
PH
56 python-numpy
57 python-smbus
d2be91e6 58 python-pil
97ee1d88
PH
59 python-spidev
60 python-rpi.gpio
c440294c 61 libportaudio2
ab1eb580 62py3deps =
d2be91e6 63 python3-pip
143f413c
PH
64 python3-numpy
65 python3-smbus
d2be91e6 66 python3-pil
97ee1d88
PH
67 python3-spidev
68 python3-rpi.gpio
c440294c 69 libportaudio2
ab1eb580 70configtxt =
9de0da39 71 dtoverlay=pi3-miniuart-bt
c0ac7b9f 72 dtoverlay=adau7002-simple
ab1eb580
PH
73commands =
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