Skip to content

Commit 670633d

Browse files
authored
Merge pull request #12 from makermelissa/master
File changes to allow releasing on PyPI
2 parents 56bed51 + 11675cb commit 670633d

File tree

5 files changed

+54
-5
lines changed

5 files changed

+54
-5
lines changed

adafruit_hx8357.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
3333
**Hardware:**
3434
35+
* 3.5" PiTFT Plus 480x320 3.5" TFT+Touchscreen for Raspberry Pi:
36+
<https://www.adafruit.com/product/2441>
3537
* 3.5" TFT 320x480 + Touchscreen Breakout Board w/MicroSD Socket:
3638
<https://www.adafruit.com/product/2050>
3739
* Adafruit TFT FeatherWing - 3.5" 480x320 Touchscreen for Feathers:

examples/hx8357_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"""
55

66
import board
7-
import displayio
87
import terminalio
8+
import displayio
99
from adafruit_display_text import label
1010
from adafruit_hx8357 import HX8357
1111

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
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-hx8357",
21+
use_scm_version=True,
22+
setup_requires=["setuptools_scm"],
23+
description="displayio driver for hx8357 and ILI9340 TFT-LCD displays.",
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_hx8357",
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 hx8357 display tft lcd displayio",
47+
# You can just specify the packages manually here if your project is
48+
# simple. Or you can use find_packages().
49+
py_modules=["adafruit_hx8357"],
50+
)

setup.py.disabled

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

0 commit comments

Comments
 (0)