/ 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-ds3231",
23      use_scm_version=True,
24      setup_requires=["setuptools_scm"],
25      description="CircuitPython library for DS3231 precision real-time clock.",
26      long_description=long_description,
27      long_description_content_type="text/x-rst",
28      # The project's main homepage.
29      url="https://github.com/adafruit/Adafruit_CircuitPython_DS3231",
30      # Author details
31      author="Adafruit Industries",
32      author_email="circuitpython@adafruit.com",
33      install_requires=[
34          "adafruit-circuitpython-register",
35          "adafruit-circuitpython-busdevice",
36      ],
37      # Choose your license
38      license="MIT",
39      # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
40      classifiers=[
41          "Development Status :: 3 - Alpha",
42          "Intended Audience :: Developers",
43          "Topic :: Software Development :: Libraries",
44          "Topic :: System :: Hardware",
45          "License :: OSI Approved :: MIT License",
46          "Programming Language :: Python :: 3",
47          "Programming Language :: Python :: 3.4",
48          "Programming Language :: Python :: 3.5",
49      ],
50      # What does your project relate to?
51      keywords="adafruit precision real-time real time clock breakout hardware micropython circuitpython",
52      # You can just specify the packages manually here if your project is
53      # simple. Or you can use find_packages().
54      py_modules=["adafruit_ds3231"],
55  )