Adding all in one weather and light display example
[EVA-2020-02-2.git] / library / setup.cfg
... / ...
CommitLineData
1# -*- coding: utf-8 -*-
2[metadata]
3name = enviroplus
4version = 0.0.1
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
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
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
28
29[options]
30install_requires =
31 pimoroni-bme280
32 pms5003
33 ltr559
34 st7735
35 ads1015
36
37[flake8]
38exclude =
39 .tox,
40 .eggs,
41 .git,
42 __pycache__,
43 build,
44 dist
45ignore =
46 E501
47
48[pimoroni]
49py2deps =
50 python-pip
51 python-numpy
52 python-smbus
53 python-pil
54py3deps =
55 python3-pip
56 python3-numpy
57 python3-smbus
58 python3-pil
59configtxt =
60 dtoverlay=pi3-miniuart-bt
61commands =
62 printf "Setting up i2c and SPI..\n"
63 raspi-config nonint do_spi 0
64 raspi-config nonint do_i2c 0
65 printf "Setting up serial for PMS5003..\n"
66 raspi-config nonint do_serial 1 # Disable serial terminal over /dev/ttyAMA0
67 raspi-config nonint set_config_var enable_uart 1 $CONFIG # Enable serial port