Skip to content

Revert "PyPi setup." #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 9, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
*.mpy
.idea
__pycache__
_build
*.pyc
.env
build*
bundles
*.DS_Store
.eggs
dist
**/*.egg-info
35 changes: 18 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
# This is a common .travis.yml for generating library release zip files for
# CircuitPython library releases using circuitpython-build-tools.
# See https://github.com/adafruit/circuitpython-build-tools for detailed setup
# instructions.

dist: trusty
sudo: false
language: python
python:
- '3.6'
- "3.6"

cache:
pip: true
pip: true

deploy:
provider: releases
api_key: "$GITHUB_TOKEN"
api_key: $GITHUB_TOKEN
file_glob: true
file: "$TRAVIS_BUILD_DIR/bundles/*"
file: $TRAVIS_BUILD_DIR/bundles/*
skip_cleanup: true
overwrite: true
on:
tags: true
- provider: pypi
user: adafruit-travis
on:
tags: true
password:
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=

install:
- pip install -r requirements.txt
- pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme
- pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme

script:
- pylint adafruit_featherwing/*.py
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/**/*.py)
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-featherwing
--library_location .
- cd docs && sphinx-build -E -W -b html . _build/html && cd ..
- pylint adafruit_featherwing/*.py
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/**/*.py)
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-featherwing --library_location .
- cd docs && sphinx-build -E -W -b html . _build/html
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
# Uncomment the below if you use native CircuitPython modules such as
# digitalio, micropython and busio. List the modules you use. Without it, the
# autodoc module docs will fail to generate with a warning.
autodoc_mock_imports = ["adafruit_motor", "adafruit_pca9685", "board", "busio", "adafruit_ina219",
"adafruit_seesaw", "micropython"]

intersphinx_mapping = {
'python': ('https://docs.python.org/3.4', None),
Expand Down
4 changes: 0 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
adafruit-circuitpython-bus-device
adafruit-circuitpython-register
adafruit-circuitpython-pca9685
adafruit-circuitpython-motor
adafruit-ina219
adafruit-seesaw
62 changes: 0 additions & 62 deletions setup.py

This file was deleted.