]> Repositories - hackapet/Adafruit_Blinka_Displayio.git/blob - setup.py
Merge pull request #102 from FoamyGuy/set_root_group
[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     "numpy",
26 ]
27
28 if sys.version_info > (3, 9):
29     requirements.append("pillow>=6.0.0")
30
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()
34
35 setup(
36     name="adafruit-blinka-displayio",
37     use_scm_version=True,
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",
44     # Author details
45     author="Adafruit Industries",
46     author_email="circuitpython@adafruit.com",
47     install_requires=requirements,
48     # Choose your license
49     license="MIT",
50     # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
51     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",
59     ],
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"],
66 )