Skip to content

Commit

Permalink
Added bump version utility with baseline version 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Aug 7, 2017
1 parent 3bc3e11 commit 57dfc04
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 8 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
[bumpversion]
current_version = 0.0.1
commit = True
tag = True

[bumpversion:file:setup.py]
search = version = "{current_version}"

[aliases]
test=pytest

Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
with open('LICENSE') as f:
license = f.read()

# *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility.
version = '0.0.1'

setup(
name='viper',
version='0.0.1',
version=version,
description='Viper Programming Language for Ethereum',
long_description=readme,
author='Vitalik Buterin',
Expand All @@ -21,6 +24,7 @@
packages=find_packages(exclude=('tests', 'docs')),
install_requires=[
'ethereum==2.0.4',
'bumpversion',
'pytest-cov',
'pytest-runner', # Must be after pytest-cov or it will not work
# due to https://github.com/pypa/setuptools/issues/196
Expand Down

0 comments on commit 57dfc04

Please sign in to comment.