Minute instead month in backup file name
[EVA-2020-02-2.git] / library / setup.cfg
index 241587ece482839f94a74702e31cb04ed9de842a..c59250c87cb4f9fd06fe6d2a688ada8824b12214 100644 (file)
@@ -1,3 +1,45 @@
+# -*- coding: utf-8 -*-
+[metadata]
+name = enviroplus
+version = 0.0.3
+author = Philip Howard
+author_email = phil@pimoroni.com
+description = Enviro pHAT Plus environmental monitoring add-on for Raspberry Pi
+long_description = file: README.rst
+keywords = Raspberry Pi
+url = https://www.pimoroni.com
+project_urls =
+       GitHub=https://www.github.com/pimoroni/enviroplus-python
+license = MIT
+# This includes the license file(s) in the wheel.
+# https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file
+license_files = LICENSE.txt
+classifiers =
+       Development Status :: 4 - Beta
+       Operating System :: POSIX :: Linux
+       License :: OSI Approved :: MIT License
+       Intended Audience :: Developers
+       Programming Language :: Python :: 2.7
+       Programming Language :: Python :: 3
+       Topic :: Software Development
+       Topic :: Software Development :: Libraries
+       Topic :: System :: Hardware
+
+[options]
+packages = enviroplus
+install_requires =
+       pimoroni-bme280
+       pms5003
+       ltr559
+       st7735
+       ads1015
+       fonts
+       font-roboto
+       astral
+       pytz
+       sounddevice
+       paho-mqtt
+
 [flake8]
 exclude =
        .tox,
 [flake8]
 exclude =
        .tox,
@@ -8,3 +50,33 @@ exclude =
        dist
 ignore =
        E501
        dist
 ignore =
        E501
+
+[pimoroni]
+py2deps =
+       python-pip
+       python-numpy
+       python-smbus
+       python-pil
+       python-cffi
+       python-spidev
+       python-rpi.gpio
+       libportaudio2
+py3deps =
+       python3-pip
+       python3-numpy
+       python3-smbus
+       python3-pil
+       python3-cffi
+       python3-spidev
+       python3-rpi.gpio
+       libportaudio2
+configtxt =
+       dtoverlay=pi3-miniuart-bt
+       dtoverlay=adau7002-simple
+commands =
+       printf "Setting up i2c and SPI..\n"
+       raspi-config nonint do_spi 0
+       raspi-config nonint do_i2c 0
+       printf "Setting up serial for PMS5003..\n"
+       raspi-config nonint do_serial 1                                 # Disable serial terminal over /dev/ttyAMA0
+       raspi-config nonint set_config_var enable_uart 1 $CONFIG        # Enable serial port