Skip to content

Commit 3c7fda8

Browse files
committed
Derive version programmatically from kaitaistruct.py using __version__ const
1 parent 7838b4b commit 3c7fda8

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
@@ -1,12 +1,13 @@
11
from setuptools import setup
22
from io import open
3+
from kaitaistruct import __version__
34

45
with open('README.md', encoding='utf-8') as f:
56
long_description = f.read()
67

78
setup(
89
name='kaitaistruct',
9-
version='0.6',
10+
version=__version__,
1011
description='Kaitai Struct declarative parser generator for binary data: runtime library for Python',
1112
long_description=long_description,
1213
url='http://kaitai.io',

0 commit comments

Comments
 (0)