]> Repositories - hackapet/Adafruit_Blinka_Displayio.git/blob - setup.py
Run pre-commit
[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
18 here = path.abspath(path.dirname(__file__))
19
20 requirements = [
21     "Adafruit-Blinka>=7.0.0",
22     "adafruit-circuitpython-typing",
23     "adafruit-circuitpython-bitmap-font",
24 ]
25
26 # Get the long description from the README file
27 with open(path.join(here, "README.rst"), encoding="utf-8") as f:
28     long_description = f.read()
29
30 setup(
31     name="adafruit-blinka-displayio",
32     use_scm_version=True,
33     setup_requires=["setuptools_scm"],
34     description="displayio for Blinka",
35     long_description=long_description,
36     long_description_content_type="text/x-rst",
37     # The project's main homepage.
38     url="https://github.com/adafruit/Adafruit_Blinka_Displayio",
39     # Author details
40     author="Adafruit Industries",
41     author_email="circuitpython@adafruit.com",
42     install_requires=requirements,
43     # Choose your license
44     license="MIT",
45     # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
46     classifiers=[
47         "Development Status :: 3 - Alpha",
48         "Intended Audience :: Developers",
49         "Topic :: Software Development :: Libraries",
50         "Topic :: System :: Hardware",
51         "License :: OSI Approved :: MIT License",
52         "Programming Language :: Python :: 3",
53         "Programming Language :: Python :: 3.7",
54     ],
55     # What does your project relate to?
56     keywords="adafruit blinka circuitpython micropython displayio lcd tft display pitft",
57     # You can just specify the packages manually here if your project is
58     # simple. Or you can use find_packages().
59     py_modules=["fontio", "terminalio", "paralleldisplay"],
60     packages=["displayio", "vectorio"],
61 )