Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
eb-prune
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
eb-prune
Commits
347f5833
Commit
347f5833
authored
8 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
- Updated documentation, release procedure.
- Removed fabfile, was kind of pointless.
parent
395dcc30
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.rst
+15
-1
15 additions, 1 deletion
README.rst
fabfile.py
+0
-23
0 additions, 23 deletions
fabfile.py
tox.ini
+2
-2
2 additions, 2 deletions
tox.ini
with
17 additions
and
26 deletions
README.rst
+
15
−
1
View file @
347f5833
...
...
@@ -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.
This diff is collapsed.
Click to expand it.
fabfile.py
deleted
100644 → 0
+
0
−
23
View file @
395dcc30
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/*
'''
)
This diff is collapsed.
Click to expand it.
tox.ini
+
2
−
2
View file @
347f5833
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment