Skip to content
Snippets Groups Projects
Commit 347f5833 authored by nimrod's avatar nimrod
Browse files

- Updated documentation, release procedure.

- Removed fabfile, was kind of pointless.
parent 395dcc30
Branches
Tags
No related merge requests found
......@@ -39,6 +39,20 @@ License
This software is licnesed under the MIT licese (see the :code:`LICENSE.txt`
file).
Testing
-------
Tests require Python 2.7, Python 3.2 or later and Tox and are run by running
:code:`tox`. Also, Travis CI is used to test on multiple Python versions for
every push.
Release
-------
Releases require Python 2.7 or Python 3.2 or later and Tox. To release a new
version bump the version in the :code:`VERSION` file and run :code:`tox -e
release`.
Author
------
......@@ -52,5 +66,5 @@ TODO
- Fix Travis CI run on Python 3.2
(https://travis-ci.org/adarnimrod/eb-prune/jobs/187705346).
- Release to PyPI on tagged commits.
- Release to PyPI on tagged commits from Travis CI.
- Add tests using moto.
from __future__ import (absolute_import, division, print_function,
unicode_literals)
from fabric.api import (local, task, env)
env.use_ssh_config = True
@task
def build():
'''Build wheel.'''
local('''python setup.py sdist bdist_wheel''')
@task
def clean():
'''Clean.'''
local('''rm -rf *.pyc *.egg-info build dist''')
@task
def upload():
build()
local('''twine upload -s dist/*''')
......@@ -31,6 +31,6 @@ deps =
twine
wheel
commands =
sh -c 'git tag -f "$(cat VERSION)"'
sh -c 'git tag "$(cat VERSION)" && git push --tags'
python setup.py bdist_wheel
# twine upload --skip-existing dist/*.whl
twine upload --skip-existing dist/*.whl
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment