wheel_testing: added .whl file testing to travis. Added auto-deployment. Version fixed requirements.txt. Removed requirements.txt from setup.py.

This commit is contained in:
SimLeek
2019-02-19 23:25:13 -07:00
parent 5db1e21e49
commit 6cac03e941
3 changed files with 28 additions and 5 deletions

20
.travis.yml Normal file
View File

@ -0,0 +1,20 @@
language: python
cache: pip
python:
- '2.7'
- '3.5'
- '3.6'
- '3.7'
install:
- pip install -r requirements.txt -q
script:
- pip install cibuildwheel==0.10.1
- cibuildwheel --output-dir wheelhouse
deploy:
provider: pypi
user: "SimLeek"
password:
secure: crD6W+uBJu+d/T4A8K+ZVAhyVQil5GXk1m/N0c5P7qX1DdMrcL1KXGzD5URtuvqTfUop1ah9npmT57yTP39WCRRqTRsra+WGFDZl+dH89xSnApFhWULhD1Z2JXu/54BKYlPU5xILUkqm+4BNwW4ZULXLTPZAA1dHSuSHqhQUsjfx/P7J0veNRgEdHoL2V9k8tvO8JJiGhGNDgyprv0PutzPOtTihd+aSM1f0sA4/vHF7Hbo7Surr7nfEXQeC9husBqYomG4bBS/F1P709y5hQRZVMdqzjQ8eQyQYmkWhW7Wmfq4uTkGTQf7TMzqB8GkxtU82ktSdRsDk6yhejNtG6TwM4O3XFw0saZMHViaKrSq2/rqdrmdrEQVogSaf7Z7CPa7FA3IGMm2G9mVt2xa94DP4gfElrGgG0R1vJZCV9L4ZMM2bg7OsU9XMU++tsOyKm/o+I/AMOxlgy/2m5KSganPswEGSiFWBE7foxLZT6+amXWHjopE43qWstOLGVsyfsQawBfcXOiqPYsOqEXgnvl8uqGfvE/UfocHuZGeQ/y8w0Q5rLfO3bMGaOFHzqBWeYK92pt8VAmDV3TvXHwPuIkG85qThUa4mw2s3Am/U9wdHWj1Ou6ZiFn6iHR9ASB1AFPR/qOLPWYIboSxlZTnKCs5/z+zuFZDTB9YO5hhmAr4=

View File

@ -1,3 +1,3 @@
numpy
opencv_python
opencv_python==3.4.2.17
localpubsub==0.0.1
numpy==1.16.1

View File

@ -13,8 +13,11 @@ with open('cvpubsubs/__init__.py', 'r') as f:
with open('README.md', 'r', encoding='utf-8') as f:
readme = f.read()
with open('requirements.txt', 'r', encoding='utf-8') as f:
REQUIRES = f.readlines()
REQUIRES = [
"opencv_python==3.4.2.17"
"localpubsub==0.0.1",
"numpy==1.16.1"
]
setup(
name='CVPubSubs',