Skip to content

Commit

Permalink
Chore: Switching to bumpversion
Browse files Browse the repository at this point in the history
Closes: #84
  • Loading branch information
jmvrbanac committed Sep 5, 2016
1 parent ee351db commit bd5f166
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
9 changes: 9 additions & 0 deletions .bumpversion.cfg
@@ -0,0 +1,9 @@
[bumpversion]
current_version = 0.5.0
commit = True
tag = True

[bumpversion:file:setup.py]

[bumpversion:file:docs/conf.py]

1 change: 0 additions & 1 deletion .package-version

This file was deleted.

1 change: 0 additions & 1 deletion MANIFEST.in
@@ -1,2 +1 @@
recursive-exclude tests *
include .package-version
1 change: 1 addition & 0 deletions dev-requirements.txt
@@ -1,5 +1,6 @@
tox
twine
bumpversion
-r requirements.txt
-r test-requirements.txt
-r doc-requirements.txt
6 changes: 2 additions & 4 deletions docs/conf.py
Expand Up @@ -56,10 +56,8 @@
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = open('../.package-version', 'r').readline()
# The full version, including alpha/beta/rc tags.
release = open('../.package-version', 'r').readline()
version = '0.5.0'
release = '0.5.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Expand Up @@ -8,9 +8,7 @@
if os.path.exists('README.rst'):
long_desc = open('README.rst').read()

version = ''
if os.path.exists('.package-version'):
version = open('.package-version', 'r').readline().strip()
version = '0.5.0'

setup(
name='Specter',
Expand Down

0 comments on commit bd5f166

Please sign in to comment.