Skip to content

Commit e57863a

Browse files
authored
Merge pull request #122 from adafruit/pypi
Prepared for adding to PyPI
2 parents de0b008 + 4da884b commit e57863a

File tree

2 files changed

+64
-9
lines changed

2 files changed

+64
-9
lines changed

setup.py

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

setup.py.disabled

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

0 commit comments

Comments
 (0)