1 # SPDX-FileCopyrightText: 2020 Melissa LeBlanc-Williams, written for Adafruit Industries
3 # SPDX-License-Identifier: MIT
5 """A setuptools based setup module.
8 https://packaging.python.org/en/latest/distributing.html
9 https://github.com/pypa/sampleproject
12 from setuptools import setup, find_packages
14 # To use a consistent encoding
15 from codecs import open
19 here = path.abspath(path.dirname(__file__))
22 "Adafruit-Blinka>=7.0.0",
23 "adafruit-circuitpython-typing",
28 if sys.version_info > (3, 9):
29 requirements.append("pillow>=6.0.0")
31 # Get the long description from the README file
32 with open(path.join(here, "README.rst"), encoding="utf-8") as f:
33 long_description = f.read()
36 name="adafruit-blinka-displayio",
38 setup_requires=["setuptools_scm"],
39 description="displayio for Blinka",
40 long_description=long_description,
41 long_description_content_type="text/x-rst",
42 # The project's main homepage.
43 url="https://github.com/adafruit/Adafruit_Blinka_Displayio",
45 author="Adafruit Industries",
46 author_email="circuitpython@adafruit.com",
47 install_requires=requirements,
50 # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
52 "Development Status :: 3 - Alpha",
53 "Intended Audience :: Developers",
54 "Topic :: Software Development :: Libraries",
55 "Topic :: System :: Hardware",
56 "License :: OSI Approved :: MIT License",
57 "Programming Language :: Python :: 3",
58 "Programming Language :: Python :: 3.7",
60 # What does your project relate to?
61 keywords="adafruit blinka circuitpython micropython displayio lcd tft display pitft",
62 # You can just specify the packages manually here if your project is
63 # simple. Or you can use find_packages().
64 py_modules=["fontio", "terminalio", "paralleldisplay"],
65 packages=["displayio"],