Skip to content
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

version #8

Merged
merged 7 commits into from
Dec 26, 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
5 changes: 3 additions & 2 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[bumpversion]
current_version = 0.1.0
current_version = 0.3.0
commit = True
tag = True

[bumpversion:file:setup.py]
[bumpversion:file:setup.py]

10 changes: 3 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,13 @@ script:
after_script: cd ~
after_success:
- coveralls
- pip install -r requirements.txt
- python3 setup.py sdist bdist_wheel
deploy:
provider: pypi
user: iiddoo
password:
secure: ea7OLMUkCeTkIZmAZaiNgBlk+RQWIDFdstXspauFZtn/ofGVYMJPMoobuQMjGc21PFz0NNedcUVeyqL3hU4RkoV6I9b2yTQ2b4Txh2lQJrjpu9SnDqSIF3SnljuoUxBJFAJvouD/k57K8OWYPe329g6sGbxrD4Hsw09YnO4zBFrf92zriD9HOZOkWxxVnojxoF9LGkCKOufweo3Eqa0GB6GTPhArwlQ8rD5ysmt5VWYDb32nbw9Wthgybgc7pTr9Dg1P3Ba2PSrS2hrorR3vrevhunwz8KW2qESjpQG5gpK79xSubnUgi1WRYA32x+R1ENx+KjKEpjKCagS92n8JoLLhlOTW0DfaqPNTEqQKvw8bS5q7+q1uRb3+vDkzjyuCcsYvjIug9BBhFsfn/OE8e8KRB9ocP02BKrPCB9TZ0pvFH/uXHeCMj6ALL5EJl31umxxxN+JUmfdHgtaY5jhv2syBycrnHmAGDi0IxQk5LzFp+nJw+Ug6NfchD0r/8UpB5kjD5UtLNxf8f8Hx6aCAD+218nMOnp3U/JNlOSroVLNr4DaEi9LNFR7CBNUWQKN49X5JQJc56MLHqViNjnhvc32jAA/Q1vX3eQuLPeIL8/g9i2az3sonwStez55ZFazaUIuBmsTw2BGiPmltvovD5zDoRLvEbkibHzTTSIK1CM8=
distributions: https://test.pypi.org/legacy/
on:
branch: master
# script:
# - pip install --user --upgrade setuptools wheel twine numpy
# - python3 setup.py sdist bdist_wheel
# - python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
# before_script:
# - bumpversion minor setup.py
branch: master
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ Simply run: `pytest`

Generate coverage report with: `py.test --cov=myPackage tests/`

#### script:
#### - pip install --user --upgrade setuptools wheel twine numpy
#### - python3 setup.py sdist bdist_wheel
#### - python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
#### before_script:
#### - bumpversion minor setup.py
2 changes: 1 addition & 1 deletion myPackage/somePython.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
def fahrToKelv(temp):
'''
takes a temperature `temp` in fahrenheit and returns it in Kelvin
Takes a temperature `temp` in fahrenheit and returns it in Kelvin
'''

kelvin = 5./9. * (temp - 32.) + 273.15
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name='python-sample-package',
version='0.1.0',
version='0.3.0',
packages=find_packages(exclude=['tests*']),
license='MIT',
description='An example python package',
Expand Down