Skip to content

Commit 62568bb

Browse files
authored
Merge pull request #13 from adafruit/revert-8-pypi
Revert "PyPi setup."
2 parents e806ac4 + 2f9a2c6 commit 62568bb

File tree

5 files changed

+20
-89
lines changed

5 files changed

+20
-89
lines changed

.gitignore

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
1-
*.mpy
2-
.idea
31
__pycache__
42
_build
53
*.pyc
64
.env
75
build*
86
bundles
9-
*.DS_Store
10-
.eggs
11-
dist
12-
**/*.egg-info

.travis.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,32 @@
1+
# This is a common .travis.yml for generating library release zip files for
2+
# CircuitPython library releases using circuitpython-build-tools.
3+
# See https://github.com/adafruit/circuitpython-build-tools for detailed setup
4+
# instructions.
5+
16
dist: trusty
27
sudo: false
38
language: python
49
python:
5-
- '3.6'
10+
- "3.6"
11+
612
cache:
7-
pip: true
13+
pip: true
14+
815
deploy:
916
provider: releases
10-
api_key: "$GITHUB_TOKEN"
17+
api_key: $GITHUB_TOKEN
1118
file_glob: true
12-
file: "$TRAVIS_BUILD_DIR/bundles/*"
19+
file: $TRAVIS_BUILD_DIR/bundles/*
1320
skip_cleanup: true
1421
overwrite: true
1522
on:
1623
tags: true
17-
- provider: pypi
18-
user: adafruit-travis
19-
on:
20-
tags: true
21-
password:
22-
secure: liggN+8Qr2kWMo05RbdTSvd/4naNT5Nyq/UjKiU/LQCTRpRGMWk7jVWsX7RWKnwpZAz0FeplfiyB9+UOWDWtgIIRmn1fxGuKLlHEn8LEyGJPqIJcM6SdscIHmr/MAWSY0MujW5OLP5zrERUeeueVMPTZO5SOKLWLbY5AmMd+5VjYp6cChxJYcQoTbPyaoKpn16BNVkCF5HS+l+nPBceLcyrl+p9Au474PVvAZAYjZf/2vsXkPOQrQFB4/zJ4nMNjn1GeSaZP6ESORTEdXkgRYPXUFMNVbEp4qYaXqrVAL5AUDzXRJtNxRcgBXAZ6HLV05x3qUza/hJlujzFAobclP+5piSch2VSp/N05Gcsggv8NLcf4g62MQirwvCM7eW9Mj7HHKW3WcvVyeF/UCiT1YPymCJtASQngq9NcGvlZUOo/eG4UB11RK6EKLd5WoOnP0SWGANbBZ82HkT2sL97k0t8TkLxaDrhMY33JcwbC01V+fNNdFiC3KUZIPeMTlCzrtZ1k2bLg+8WD58q9aVkxt1tIHrS9uMc+7+J/vgA8DyMGhFXRTi9u1+SXUlN63IY9Q3nI0MIuZ+lDIA8799NBwdbT7V7XDLKljogd0kbYrNMbvS1yCVJCBlDTzLuRSxtCttQZXLjvg9DYaQHuGBQMeH2ZGqRUVyhePA+wT402kyc=
24+
2325
install:
24-
- pip install -r requirements.txt
25-
- pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme
26+
- pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme
27+
2628
script:
27-
- pylint adafruit_featherwing/*.py
28-
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/**/*.py)
29-
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-featherwing
30-
--library_location .
31-
- cd docs && sphinx-build -E -W -b html . _build/html && cd ..
29+
- pylint adafruit_featherwing/*.py
30+
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/**/*.py)
31+
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-featherwing --library_location .
32+
- cd docs && sphinx-build -E -W -b html . _build/html

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
# Uncomment the below if you use native CircuitPython modules such as
1919
# digitalio, micropython and busio. List the modules you use. Without it, the
2020
# autodoc module docs will fail to generate with a warning.
21+
autodoc_mock_imports = ["adafruit_motor", "adafruit_pca9685", "board", "busio", "adafruit_ina219",
22+
"adafruit_seesaw", "micropython"]
2123

2224
intersphinx_mapping = {
2325
'python': ('https://docs.python.org/3.4', None),

requirements.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
11
adafruit-circuitpython-bus-device
22
adafruit-circuitpython-register
3-
adafruit-circuitpython-pca9685
4-
adafruit-circuitpython-motor
5-
adafruit-ina219
6-
adafruit-seesaw

setup.py

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

0 commit comments

Comments
 (0)