]> Repositories - hackapet/Adafruit_Blinka_Displayio.git/blob - setup.py
Attempt #2 to fix cryptic error message
[hackapet/Adafruit_Blinka_Displayio.git] / setup.py
1 # SPDX-FileCopyrightText: 2020 Melissa LeBlanc-Williams, written for Adafruit Industries
2 #
3 # SPDX-License-Identifier: MIT
4
5 """A setuptools based setup module.
6
7 See:
8 https://packaging.python.org/en/latest/distributing.html
9 https://github.com/pypa/sampleproject
10 """
11
12 from setuptools import setup, find_packages
13
14 # To use a consistent encoding
15 from codecs import open
16 from os import path
17 import sys
18
19 here = path.abspath(path.dirname(__file__))
20
21 requirements = [
22     "Adafruit-Blinka>=7.0.0",
23     "adafruit-circuitpython-typing",
24     "pillow",
25 ]
26
27 if sys.version_info > (3, 9):
28     requirements.append("pillow>=9.2.0")
29
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()
33
34 setup(
35     name="adafruit-blinka-displayio",
36     use_scm_version=True,
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",
43     # Author details
44     author="Adafruit Industries",
45     author_email="circuitpython@adafruit.com",
46     install_requires=requirements,
47     # Choose your license
48     license="MIT",
49     # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
50     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",
58     ],
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"],
65 )