1 # -*- coding: utf-8 -*-
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
12 GitHub=https://www.github.com/pimoroni/enviroplus-python
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
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
50 dtoverlay=pi3-miniuart-bt # for Enviro+
52 printf "Setting up i2c and SPI..\n"
53 raspi-config nonint do_spi 0
54 raspi-config nonint do_i2c 0
55 printf "Setting up serial for PMS5003..\n"
56 raspi-config nonint do_serial 1 # Disable serial terminal over /dev/ttyAMA0
57 raspi-config nonint set_config_var enable_uart 1 $CONFIG # Enable serial port