/ 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  from setuptools import setup, find_packages
 9  
10  # To use a consistent encoding
11  from codecs import open
12  from os import path
13  
14  here = path.abspath(path.dirname(__file__))
15  
16  # Get the long description from the README file
17  with open(path.join(here, "README.rst"), encoding="utf-8") as f:
18      long_description = f.read()
19  
20  setup(
21      name="adafruit-circuitpython-azureiot",
22      use_scm_version=True,
23      setup_requires=["setuptools_scm"],
24      description="Access to Microsoft Azure IoT from CircuitPython",
25      long_description=long_description,
26      long_description_content_type="text/x-rst",
27      # The project's main homepage.
28      url="https://github.com/adafruit/Adafruit_CircuitPython_AzureIoT",
29      # Author details
30      author="Adafruit Industries",
31      author_email="circuitpython@adafruit.com",
32      install_requires=[
33          "Adafruit-Blinka",
34          "Adafruit-CircuitPython-miniMQTT",
35          "Adafruit-CircuitPython-Requests",
36          "Adafruit-CircuitPython-Binascii",
37      ],
38      # Choose your license
39      license="MIT",
40      # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
41      classifiers=[
42          "Development Status :: 3 - Alpha",
43          "Intended Audience :: Developers",
44          "Topic :: Software Development :: Libraries",
45          "Topic :: System :: Hardware",
46          "License :: OSI Approved :: MIT License",
47          "Programming Language :: Python :: 3",
48          "Programming Language :: Python :: 3.4",
49          "Programming Language :: Python :: 3.5",
50      ],
51      # What does your project relate to?
52      keywords="adafruit blinka circuitpython micropython azureiot azure iot device services, iothub, iotcentral",
53      # You can just specify the packages manually here if your project is
54      # simple. Or you can use find_packages().
55      # TODO: IF LIBRARY FILES ARE A PACKAGE FOLDER,
56      #       CHANGE `py_modules=['...']` TO `packages=['...']`
57      py_modules=["adafruit_azureiot"],
58  )