Skip to content

Commit c735ca2

Browse files
committed
setup.py: move version to a variable
1 parent 8a6e800 commit c735ca2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,19 @@
22

33
from setuptools import setup
44

5+
6+
version = '0.4.5'
7+
58
setup(
69
name='upcloud-api',
7-
version='0.4.5',
10+
version=version,
811
description='UpCloud API Client',
912
author='Elias Nygren',
1013
maintainer='Mika Lackman',
1114
maintainer_email='mika.lackman@upcloud.com',
1215
url='https://github.com/UpCloudLtd/upcloud-python-api',
1316
packages=['upcloud_api', 'upcloud_api.cloud_manager'],
14-
download_url='https://github.com/UpCloudLtd/upcloud-python-api/archive/0.4.5.tar.gz',
17+
download_url='https://github.com/UpCloudLtd/upcloud-python-api/archive/%s.tar.gz' % version,
1518
license='MIT',
1619
install_requires=[
1720
'requests>=2.6.0',

0 commit comments

Comments
 (0)