Skip to content

Commit 5b6c29c

Browse files
authored
Merge pull request #26 from makermelissa/main
Update to be a PYPI package
2 parents bb9117b + b963a95 commit 5b6c29c

File tree

2 files changed

+54
-6
lines changed

2 files changed

+54
-6
lines changed

setup.py

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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+
author_email="[email protected]",
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+
)

setup.py.disabled

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)