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",
27 if sys.version_info > (3, 9):
28 requirements.append("pillow>=9.2.0")
30 # Get the long description from the README file
31 with open(path.join(here, "README.rst"), encoding="utf-8") as f:
32 long_description = f.read()
35 name="adafruit-blinka-displayio",
37 setup_requires=["setuptools_scm"],
38 description="displayio for Blinka",
39 long_description=long_description,
40 long_description_content_type="text/x-rst",
41 # The project's main homepage.
42 url="https://github.com/adafruit/Adafruit_Blinka_Displayio",
44 author="Adafruit Industries",
45 author_email="circuitpython@adafruit.com",
46 install_requires=requirements,
49 # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
51 "Development Status :: 3 - Alpha",
52 "Intended Audience :: Developers",
53 "Topic :: Software Development :: Libraries",
54 "Topic :: System :: Hardware",
55 "License :: OSI Approved :: MIT License",
56 "Programming Language :: Python :: 3",
57 "Programming Language :: Python :: 3.7",
59 # What does your project relate to?
60 keywords="adafruit blinka circuitpython micropython displayio lcd tft display pitft",
61 # You can just specify the packages manually here if your project is
62 # simple. Or you can use find_packages().
63 py_modules=["fontio", "terminalio", "paralleldisplay"],
64 packages=["displayio", "vectorio"],