Skip to content

Commit d15c08d

Browse files
authored
Merge pull request #60 from adafruit/pypi
Prepared for adding to PyPI
2 parents fad6b60 + be01f42 commit d15c08d

File tree

2 files changed

+59
-7
lines changed

2 files changed

+59
-7
lines changed

setup.py

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries
2+
#
3+
# SPDX-License-Identifier: MIT
4+
5+
"""A setuptools based setup module.
6+
7+
See:
8+
https://packaging.python.org/en/latest/distributing.html
9+
https://github.com/pypa/sampleproject
10+
"""
11+
12+
# Always prefer setuptools over distutils
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+
name="adafruit-circuitpython-pybadger",
27+
use_scm_version=True,
28+
setup_requires=["setuptools_scm"],
29+
description="Badge-focused CircuitPython helper library for PyBadge, "
30+
"PyBadge LC, PyGamer and CLUE",
31+
long_description=long_description,
32+
long_description_content_type="text/x-rst",
33+
# The project's main homepage.
34+
url="https://github.com/adafruit/Adafruit_CircuitPython_REPLACE",
35+
# Author details
36+
author="Adafruit Industries",
37+
author_email="[email protected]",
38+
install_requires=[
39+
"Adafruit-Blinka",
40+
"adafruit-circuitpython-busdevice",
41+
],
42+
# Choose your license
43+
license="MIT",
44+
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
45+
classifiers=[
46+
"Development Status :: 3 - Alpha",
47+
"Intended Audience :: Developers",
48+
"Topic :: Software Development :: Libraries",
49+
"Topic :: System :: Hardware",
50+
"License :: OSI Approved :: MIT License",
51+
"Programming Language :: Python :: 3",
52+
],
53+
# What does your project relate to?
54+
keywords="adafruit pybadge pygamer clue display hardware micropython"
55+
"circuitpython",
56+
# You can just specify the packages manually here if your project is
57+
# simple. Or you can use find_packages().
58+
packages=["adafruit_pybadger"],
59+
)

setup.py.disabled

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

0 commit comments

Comments
 (0)