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