Skip to content

Commit 7344fef

Browse files
authored
Merge pull request #22 from makermelissa/master
File changes to allow releasing on PyPI
2 parents 0b1c231 + 6606bfb commit 7344fef

File tree

5 files changed

+53
-7
lines changed

5 files changed

+53
-7
lines changed

examples/ili9341_shield_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
Pinouts are for the 2.8" TFT Shield
66
"""
77
import board
8-
import displayio
98
import terminalio
9+
import displayio
1010
from adafruit_display_text import label
1111
import adafruit_ili9341
1212

examples/ili9341_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
Pinouts are for the 2.4" TFT FeatherWing or Breakout with a Feather M4 or M0.
77
"""
88
import board
9-
import displayio
109
import terminalio
10+
import displayio
1111
from adafruit_display_text import label
1212
import adafruit_ili9341
1313

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Adafruit-Blinka
2-
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-ili9341",
21+
use_scm_version=True,
22+
setup_requires=["setuptools_scm"],
23+
description="displayio driver for ILI9341 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_ili9341",
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 ili9341 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_ili9341"],
50+
)

setup.py.disabled

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

0 commit comments

Comments
 (0)