/ setup.py
setup.py
 1  # SPDX-FileCopyrightText: 2021 ladyada 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  # Get the long description from the README file
21  with open(path.join(here, "README.rst"), encoding="utf-8") as f:
22      long_description = f.read()
23  
24  setup(
25      name="adafruit-circuitpython-led-animation",
26      use_scm_version=True,
27      setup_requires=["setuptools_scm"],
28      description="CircuitPython helper for LED colors and animations.",
29      long_description=long_description,
30      long_description_content_type="text/x-rst",
31      # The project's main homepage.
32      url="https://github.com/adafruit/Adafruit_CircuitPython_LED_Animation",
33      # Author details
34      author="Adafruit Industries",
35      author_email="circuitpython@adafruit.com",
36      install_requires=[
37          "Adafruit-Blinka",
38      ],
39      # Choose your license
40      license="MIT",
41      # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
42      classifiers=[
43          "Development Status :: 3 - Alpha",
44          "Intended Audience :: Developers",
45          "Topic :: Software Development :: Libraries",
46          "Topic :: System :: Hardware",
47          "License :: OSI Approved :: MIT License",
48          "Programming Language :: Python :: 3",
49          "Programming Language :: Python :: 3.4",
50          "Programming Language :: Python :: 3.5",
51      ],
52      # What does your project relate to?
53      keywords="adafruit blinka circuitpython micropython led animation led colors animations",
54      # You can just specify the packages manually here if your project is
55      # simple. Or you can use find_packages().
56      # TODO: IF LIBRARY FILES ARE A PACKAGE FOLDER,
57      #       CHANGE `py_modules=['...']` TO `packages=['...']`
58      packages=["adafruit_led_animation", "adafruit_led_animation.animation"],
59  )