Skip to content

Commit 0312062

Browse files
committed
We change versioon with bumpversion now.
1 parent 706430d commit 0312062

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ commit = True
44
tag = False
55

66
[bumpversion:file:nexmo/__init__.py]
7+
[bumpversion:file:setup.py]

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@
22

33
from setuptools import setup
44

5-
with open('nexmo/__init__.py', 'r') as fd:
6-
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1)
7-
85
setup(name='nexmo',
9-
version=version,
6+
version='2.0.0',
107
description='Nexmo Client Library for Python',
118
long_description='This is the Python client library for Nexmo\'s API. To use it you\'ll need a Nexmo account. Sign up `for free at nexmo.com <http://nexmo.com?src=python-client-library>`_.',
129
url='http://github.com/Nexmo/nexmo-python',

0 commit comments

Comments
 (0)