Commit 347f5833 authored by nimrod's avatar nimrod
Browse files

- Updated documentation, release procedure.

- Removed fabfile, was kind of pointless.
parent 395dcc30
Loading
Loading
Loading
Loading
+15 −1
Original line number Diff line number Diff line
@@ -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.

fabfile.py

deleted100644 → 0
+0 −23
Original line number Diff line number Diff line
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/*''')
+2 −2
Original line number Diff line number Diff line
@@ -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