Skip to content

Commit 365eebf

Browse files
author
Melissa LeBlanc-Williams
committed
Added some missing repo files
1 parent 63c5881 commit 365eebf

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: DC9aEeXOKnkvA9tPIi/ePQIW0SHdxcvjrUuZpoC1BXtFPqpMh3l3/rblYPgvVsfP612g/4BjeMpVKJoAhTfChotmoLZfH7zXsRf4sWKYkvMfrLBth5fZSHqaELU9IBIXLs2740DBSM7h6HgN8lh0jiOmr2F/JUXilqMCmXMrozU/LskficUpC8exvnVX0+yM3Da5+Awp09mJixXrJkvxvB5VW01o4ewPxucXCSPpeVCCUpk1HYK1Qla9ZyOL+hwuZk5dzm1u4atw3IpbUQeEw4m8dpt+JAB+2439V9ekK5neUGben+a3a2WAmyvwo4sfF/EqtgF3048EWz4SqF60DE8G8BeMPGSs2gzfvULLXcyAwwgluSkfWk6pk0ULJc+mOE63vFODsONDIQs/zfIDu3fiI6TYMiYRh7u7NHIYpVHukGeC9q2sPTr/EeLxLOE0W+Npnf/+6wycmV4bjauhuS71EGkGIzV2/gE+iuqmoC8ileidCVnS+2UZj+tPR2yQEdUoyTvKa3KcRQsOpXGNvzqJtI1NnHPv5V8BfZXUrqBJrq55SCrGDdl6jZ3INSor+1ASs4Cv3iCsfF3P0a7dSOsBjDzH2SDLiupi1+XLHR7v8MmGsF6o1CIc6/ML2kqD6r7wgIlF3OSXrA2JVs2piw/zMu9r6MyTYXenzVw5cyg=
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='[email protected]',
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 driver 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+
py_modules=['adafruit_ra8875'],
60+
)

0 commit comments

Comments
 (0)