1+ # SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries
2+ #
3+ # SPDX-License-Identifier: MIT
4+
5+ """A setuptools based setup module.
6+ See:
7+ https://packaging.python.org/en/latest/distributing.html
8+ https://github.com/pypa/sampleproject
9+ """
10+
11+ from setuptools import setup
12+
13+ # To use a consistent encoding
14+ from codecs import open
15+ from os import path
16+
17+ here = path .abspath (path .dirname (__file__ ))
18+
19+ # Get the long description from the README file
20+ with open (path .join (here , "README.rst" ), encoding = "utf-8" ) as f :
21+ long_description = f .read ()
22+
23+ setup (
24+ name = "adafruit-circuitpython-logging" ,
25+ use_scm_version = True ,
26+ setup_requires = ["setuptools_scm" ],
27+ description = "Logging module for CircuitPython" ,
28+ long_description = long_description ,
29+ long_description_content_type = "text/x-rst" ,
30+ # The project's main homepage.
31+ url = "https://github.com/adafruit/Adafruit_CircuitPython_Logging" ,
32+ # Author details
33+ author = "Adafruit Industries" ,
34+ 35+ install_requires = [
36+ "Adafruit-Blinka" ,
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+ ],
49+ # What does your project relate to?
50+ keywords = "adafruit blinka circuitpython micropython logging logger" ,
51+ # You can just specify the packages manually here if your project is
52+ # simple. Or you can use find_packages().
53+ packages = ["adafruit_logging" ],
54+ )
0 commit comments