Skip to content

Commit ad08d6f

Browse files
committed
File changes to allow releasing on PyPI
1 parent 0d193cd commit ad08d6f

File tree

4 files changed

+53
-5
lines changed

4 files changed

+53
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ bundles
66
.idea/
77
venv/
88
.vscode
9+
.DS_STORE

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
1+
Adafruit-Blinka
2+
adafruit-blinka-displayio

setup.py

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
"""A setuptools based setup module.
2+
See:
3+
https://packaging.python.org/en/latest/distributing.html
4+
https://github.com/pypa/sampleproject
5+
"""
6+
7+
from setuptools import setup, find_packages
8+
9+
# To use a consistent encoding
10+
from codecs import open
11+
from os import path
12+
13+
here = path.abspath(path.dirname(__file__))
14+
15+
# Get the long description from the README file
16+
with open(path.join(here, "README.rst"), encoding="utf-8") as f:
17+
long_description = f.read()
18+
19+
setup(
20+
name="adafruit-circuitpython-imageload",
21+
use_scm_version=True,
22+
setup_requires=["setuptools_scm"],
23+
description="Displays text using CircuitPython's displayio.",
24+
long_description=long_description,
25+
long_description_content_type="text/x-rst",
26+
# The project's main homepage.
27+
url="https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad",
28+
# Author details
29+
author="Adafruit Industries",
30+
author_email="[email protected]",
31+
install_requires=["Adafruit-Blinka", "adafruit-blinka-displayio",],
32+
# Choose your license
33+
license="MIT",
34+
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
35+
classifiers=[
36+
"Development Status :: 3 - Alpha",
37+
"Intended Audience :: Developers",
38+
"Topic :: Software Development :: Libraries",
39+
"Topic :: System :: Hardware",
40+
"License :: OSI Approved :: MIT License",
41+
"Programming Language :: Python :: 3",
42+
"Programming Language :: Python :: 3.4",
43+
"Programming Language :: Python :: 3.5",
44+
],
45+
# What does your project relate to?
46+
keywords="adafruit blinka circuitpython micropython bitmap fonts text display tft lcd displayio imageload image",
47+
# You can just specify the packages manually here if your project is
48+
# simple. Or you can use find_packages().
49+
packages=["adafruit_imageload"],
50+
)

setup.py.disabled

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

0 commit comments

Comments
 (0)