/ setup.py
setup.py
 1  """A setuptools based setup module.
 2  See:
 3  https://packaging.python.org/en/latest/distributing.html
 4  https://github.com/pypa/sampleproject
 5  """
 6  
 7  from setuptools import setup, find_packages
 8  
 9  # To use a consistent encoding
10  from codecs import open
11  from os import path
12  
13  here = path.abspath(path.dirname(__file__))
14  
15  # Get the long description from the README file
16  with open(path.join(here, "README.rst"), encoding="utf-8") as f:
17      long_description = f.read()
18  
19  setup(
20      name="adafruit-circuitpython-hx8357",
21      use_scm_version=True,
22      setup_requires=["setuptools_scm"],
23      description="displayio driver for hx8357 and ILI9340 TFT-LCD displays.",
24      long_description=long_description,
25      long_description_content_type="text/x-rst",
26      # The project's main homepage.
27      url="https://github.com/adafruit/Adafruit_CircuitPython_hx8357",
28      # Author details
29      author="Adafruit Industries",
30      author_email="circuitpython@adafruit.com",
31      install_requires=["Adafruit-Blinka", "adafruit-blinka-displayio",],
32      # Choose your license
33      license="MIT",
34      # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
35      classifiers=[
36          "Development Status :: 3 - Alpha",
37          "Intended Audience :: Developers",
38          "Topic :: Software Development :: Libraries",
39          "Topic :: System :: Hardware",
40          "License :: OSI Approved :: MIT License",
41          "Programming Language :: Python :: 3",
42          "Programming Language :: Python :: 3.4",
43          "Programming Language :: Python :: 3.5",
44      ],
45      # What does your project relate to?
46      keywords="adafruit blinka circuitpython micropython hx8357 display tft lcd displayio",
47      # You can just specify the packages manually here if your project is
48      # simple. Or you can use find_packages().
49      py_modules=["adafruit_hx8357"],
50  )