Skip to content

Commit 6fef6f1

Browse files
authored
Merge pull request #2 from kattni/pypi
Adding to PyPI.
2 parents 3e3c3df + d1b78f7 commit 6fef6f1

File tree

2 files changed

+61
-9
lines changed

2 files changed

+61
-9
lines changed

setup.py

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
2+
# SPDX-FileCopyrightText: Copyright (c) 2021 Kattni Rembor for Adafruit Industries
3+
#
4+
# SPDX-License-Identifier: MIT
5+
6+
"""A setuptools based setup module.
7+
8+
See:
9+
https://packaging.python.org/en/latest/distributing.html
10+
https://github.com/pypa/sampleproject
11+
"""
12+
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+
# Adafruit Bundle Information
27+
name="adafruit-circuitpython-simple-text-display",
28+
use_scm_version=True,
29+
setup_requires=["setuptools_scm"],
30+
description="A helper library for displaying lines of text on a microcontroller with a built-in"
31+
" display, or externally connected display.",
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_Simple_Text_Display.git",
36+
# Author details
37+
author="Adafruit Industries",
38+
author_email="[email protected]",
39+
install_requires=[
40+
"Adafruit-Blinka",
41+
"adafruit-circuitpython-display-text",
42+
],
43+
# Choose your license
44+
license="MIT",
45+
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
46+
classifiers=[
47+
"Development Status :: 3 - Alpha",
48+
"Intended Audience :: Developers",
49+
"Topic :: Software Development :: Libraries",
50+
"Topic :: System :: Hardware",
51+
"License :: OSI Approved :: MIT License",
52+
"Programming Language :: Python :: 3",
53+
"Programming Language :: Python :: 3.4",
54+
"Programming Language :: Python :: 3.5",
55+
],
56+
# What does your project relate to?
57+
keywords="adafruit blinka circuitpython micropython simple-text-display displayio",
58+
# You can just specify the packages manually here if your project is
59+
# simple. Or you can use find_packages().
60+
py_modules=["adafruit_simple_text_display"],
61+
)

setup.py.disabled

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

0 commit comments

Comments
 (0)