Skip to content

Commit ac0071a

Browse files
authored
Merge pull request #4 from makermelissa/master
Added some missing repo files
2 parents c2ea2c0 + 98a5d5f commit ac0071a

File tree

2 files changed

+84
-9
lines changed

2 files changed

+84
-9
lines changed

.travis.yml

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,35 @@
66
dist: xenial
77
language: python
88
python:
9-
- "3.6"
9+
- "3.6"
1010

1111
cache:
1212
pip: true
1313

14+
# TODO: if deployment to PyPi is desired, change 'DEPLOY_PYPI' to "true",
15+
# or remove the env block entirely and remove the condition in the
16+
# deploy block.
17+
env:
18+
- DEPLOY_PYPI="true"
19+
1420
deploy:
15-
provider: releases
16-
api_key: $GITHUB_TOKEN
17-
file_glob: true
18-
file: $TRAVIS_BUILD_DIR/bundles/*
19-
skip_cleanup: true
20-
overwrite: true
21-
on:
22-
tags: true
21+
- provider: releases
22+
api_key: "$GITHUB_TOKEN"
23+
file_glob: true
24+
file: "$TRAVIS_BUILD_DIR/bundles/*"
25+
skip_cleanup: true
26+
overwrite: true
27+
on:
28+
tags: true
29+
# TODO: Use 'travis encrypt --com -r adafruit/<repo slug>' to generate
30+
# the encrypted password for adafruit-travis. Paste result below.
31+
- provider: pypi
32+
user: adafruit-travis
33+
password:
34+
secure: AF+E8LEvOOLe66/++iw1plWdKmRH39gwdmzMzIJZlUdMGmbLYi0rFg+yC4+Xfvm9ZumG3aTLbWdzyvBHkB3H3/fT4YZf5mElxTEwGeYcOIburFQUNm0GqgXzKjfwvgH6lTNSWo2zibALrlytTnDPNvUfqyhAGvJBp2JgDUVS4kY1LjvzQSFCWcGNQ3F9kxsWeLHv34lTkjXQSrQNMLotjD4jVp6LAZMTbDtJKCGgfrYfOP60InVNWMuqVDB0DVFk+6ry8QbnTif9wsTiCoIAY7H25xFcJ/laFNRbx5nj3n+XVApM5EebJk+Ig5j/akSBa+MlmGvSTcHF+hP89+fRwhyJtu4qo2d1wu8D29lXs9VDVsw0tsix0CLFzEQsurUqaHfsZGSKnW9f/2v4+tyQyo4e3Hkvumm2Bu5xvREwnaAiSRw2Iavm9noGF/AnH5593AmKdkRtAWq0UrEDGKjp5enlZwhq1pkzM+7isOKDgsVOe2RnI1SXSgKq43qU2/xVCfhh5W/MBKLgLaTTH6iaXfSsZYwekuWIhdjE2IUf4rnbqjGhJIC/mObHAgsrrtWbKqDHuQg7xMV0MlSS5b1B6KuQrxouVz2BC/a9RcOm9k0EBHfqVEi1EJBfgJkYEeoCiKzwT+O2zhN5rgGC67NpVMKWfCl9sRT0gpZ9JE1H7OY=
35+
on:
36+
tags: true
37+
condition: $DEPLOY_PYPI = "true"
2338

2439
install:
2540
- pip install -r requirements.txt

setup.py

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

0 commit comments

Comments
 (0)