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

[IMP] simplify release process using setuptools_scm #10

Merged
merged 2 commits into from
Feb 1, 2017
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
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,15 @@ script:

after_success:
- coveralls

deploy:
provider: pypi
user: acsbidoul
password:
secure: LGD5/HQLvHCV9BRaPF2J73Qs6OBnlA4iDL78Wab9TRPG1Wi8SfuuG2h3tOgHVfVtTOZKA6dhyAQF07/K5sp/fvvOlVp1og9Dda8s1gUhKSb9JRal37fukm7bTfUZQPXlZrC/Xmnw+CRPRcEfRfFzHv3827pxnC9LSktU1kwvl2VkeQ+nrFhmOvhkE+IK8aTHlRA18zZOA3PZLwEJQWuxxbK3/MK6Z5LTokMVIXNZncaammY/aAtzPHdz+W5PPSGAOSEMGzu80Oql+6eRzf9pPNquejZ1aNP1zPlKg939+FCL+DP6D9XXeB+xe31JWeaA5ZUeR4KnyF1n7Cz4Gge8c4H6nYGLayZErxLY/jRVc/mfwofipmN54pUUm/6cAt7ROFL/BlL3QHWZQRKRff0VWP36B4vhP7lHLpePH3EJWvD1VW08sQzcSbiicNk1jVb+VBou4L5PwvLJ1CFGjBjpxpVn3me1KQZaFzr9l8MlJXR4Ikf4FJOMJw06erPmlRPUd9F+KhYHEb3/MawH8cp2pwzxswen4gOXIHbCyP/uuUEadDVL7mEfr1zgxqCfsO/OB4pf9DX/AVCI+QLx1ekJQx/NMQmIxe6ssmFJsF/TX9hqG02YrW/vnx1NQiIhuDueRJ0ippPYH01wDMvsf42z+PAPUxhexnK2/gGf0hj9JQE=
distributions: "sdist bdist_wheel"
skip_upload_docs: true
on:
repo: acsone/git-aggregator
branch: master
tags: true
18 changes: 18 additions & 0 deletions DEVELOP.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Developer instructions
~~~~~~~~~~~~~~~~~~~~~~

How to run tests
----------------

* run ``tox`` (if not installed ``apt-get install tox``)

How to release
--------------

* python setup.py check --restructuredtext
* commit everything
* make sure tests pass!
* git tag <version>, where <version> is PEP 440 compliant
* git push --tags

Uploading of tagged versions to pypi will be taken care of by travis.
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setuptools.setup(
name='git-aggregator',
version='1.0.1.dev0',
use_scm_version=True,
description='A library to aggregate git branches from different remotes '
'into a consolidated one',
long_description=open('README.rst').read(),
Expand All @@ -15,7 +15,7 @@
'Framework :: GIT',
'Intended Audience :: Developers',
'License :: OSI Approved :: '
'GNU Affero General Public License v3 or later (AGPLv3+)',
'GNU Affero General Public License v3 or later (AGPLv3+)',
'Operating System :: POSIX',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
Expand All @@ -32,6 +32,9 @@
packages=[
'git_aggregator',
],
setup_requires=[
'setuptools_scm',
],
install_requires=[
'kaptan',
'argcomplete',
Expand Down