Skip to content

Commit f5a5045

Browse files
committed
setup.py: Move the version into a constant
1 parent 806a062 commit f5a5045

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from setuptools.command.build_ext import build_ext
2121

2222

23+
VERSION = '0.6.0'
2324
CFLAGS = ['-O2']
2425
LIBUV_DIR = os.path.join(os.path.dirname(__file__), 'vendor', 'libuv')
2526

@@ -238,7 +239,7 @@ def build_extensions(self):
238239
author='Yury Selivanov',
239240
author_email='[email protected]',
240241
platforms=['*nix'],
241-
version='0.6.0',
242+
version=VERSION,
242243
packages=['uvloop'],
243244
cmdclass={'build_ext': libuv_build_ext},
244245
ext_modules=[

0 commit comments

Comments
 (0)