/ setup.py
setup.py
1 # SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries 2 # SPDX-FileCopyrightText: Copyright (c) 2021 Dan Halbert for Adafruit Industries 3 # 4 # SPDX-License-Identifier: MIT 5 6 """A setuptools based setup module. 7 8 See: 9 https://packaging.python.org/en/latest/distributing.html 10 https://github.com/pypa/sampleproject 11 """ 12 13 from setuptools import setup, find_packages 14 15 # To use a consistent encoding 16 from codecs import open 17 from os import path 18 19 here = path.abspath(path.dirname(__file__)) 20 21 # Get the long description from the README file 22 with open(path.join(here, "README.rst"), encoding="utf-8") as f: 23 long_description = f.read() 24 25 setup( 26 # Adafruit Bundle Information 27 name="adafruit-circuitpython-asyncio", 28 use_scm_version={ 29 # This is needed for the PyPI version munging in the Github Actions release.yml 30 "git_describe_command": "git describe --tags --long", 31 "local_scheme": "no-local-version", 32 }, 33 setup_requires=["setuptools_scm"], 34 description="Cooperative multitasking and asynchronous I/O", 35 long_description=long_description, 36 long_description_content_type="text/x-rst", 37 # The project's main homepage. 38 url="https://github.com/adafruit/Adafruit_CircuitPython_asyncio.git", 39 # Author details 40 author="Adafruit Industries", 41 author_email="circuitpython@adafruit.com", 42 install_requires=[ 43 "Adafruit-Blinka", 44 ], 45 # Choose your license 46 license="MIT", 47 # See https://pypi.python.org/pypi?%3Aaction=list_classifiers 48 classifiers=[ 49 "Development Status :: 3 - Alpha", 50 "Intended Audience :: Developers", 51 "Topic :: Software Development :: Libraries", 52 "Topic :: System :: Hardware", 53 "License :: OSI Approved :: MIT License", 54 "Programming Language :: Python :: 3", 55 ], 56 # What does your project relate to? 57 keywords="adafruit blinka circuitpython micropython asyncio async", 58 # You can just specify the packages manually here if your project is 59 # simple. Or you can use find_packages(). 60 packages=["asyncio"], 61 )