Skip to content

Commit a794aa0

Browse files
authored
Merge pull request #87 from adafruit/pypi
Prepared for adding to PyPI
2 parents fe15f7c + e9a6fb4 commit a794aa0

File tree

2 files changed

+67
-9
lines changed

2 files changed

+67
-9
lines changed

setup.py

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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-matrixportal",
27+
use_scm_version=True,
28+
setup_requires=["setuptools_scm"],
29+
description="CircuitPython helper for Adafruit MatrixPortal M4, Adafruit"
30+
" RGB Matrix Shield + Metro M4 Airlift Lite, and Adafruit RGB Matrix"
31+
" FeatherWings",
32+
long_description=long_description,
33+
long_description_content_type="text/x-rst",
34+
# The project's main homepage.
35+
url="https://github.com/adafruit/Adafruit_CircuitPython_MatrixPortal",
36+
# Author details
37+
author="Adafruit Industries",
38+
author_email="[email protected]",
39+
install_requires=[
40+
"Adafruit-Blinka",
41+
"adafruit-blinka-displayio",
42+
"adafruit-circuitpython-portalbase",
43+
"adafruit-circuitpython-esp32spi",
44+
"adafruit-circuitpython-bitmap-font",
45+
"adafruit-circuitpython-display-text",
46+
"adafruit-circuitpython-adafruitio",
47+
"adafruit-circuitpython-neopixel",
48+
"adafruit-circuitpython-requests",
49+
],
50+
# Choose your license
51+
license="MIT",
52+
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
53+
classifiers=[
54+
"Development Status :: 3 - Alpha",
55+
"Intended Audience :: Developers",
56+
"Topic :: Software Development :: Libraries",
57+
"Topic :: System :: Hardware",
58+
"License :: OSI Approved :: MIT License",
59+
"Programming Language :: Python :: 3",
60+
],
61+
# What does your project relate to?
62+
keywords="adafruit matrixportal matrix rgb led feather featherwing shield"
63+
"breakout hardware micropython circuitpython",
64+
# You can just specify the packages manually here if your project is
65+
# simple. Or you can use find_packages().
66+
packages=["adafruit_matrixportal"],
67+
)

setup.py.disabled

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

0 commit comments

Comments
 (0)