diff options
| author | jvoisin | 2013-07-16 12:34:03 +0200 |
|---|---|---|
| committer | jvoisin | 2013-07-16 12:34:03 +0200 |
| commit | 4bc8f6c5dca9dcd15532fa8c8b8442f071083ac6 (patch) | |
| tree | e1854d296b90693af23f70cf835cd8985411290f | |
| parent | cb3dfd99998bd71b17d948b1bd88d5757f9cdab3 (diff) | |
The setup.py now uses a __version__ variable
Expect a release.sh script soon ;)
| -rwxr-xr-x | setup.py | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -5,6 +5,8 @@ import os | |||
| 5 | from distutils.core import setup | 5 | from distutils.core import setup |
| 6 | from DistUtilsExtra.command import * | 6 | from DistUtilsExtra.command import * |
| 7 | 7 | ||
| 8 | __version__ = '0.4' | ||
| 9 | |||
| 8 | #Remove MANIFEST file, since distutils | 10 | #Remove MANIFEST file, since distutils |
| 9 | #doesn't properly update it when | 11 | #doesn't properly update it when |
| 10 | #the contents of directories changes. | 12 | #the contents of directories changes. |
| @@ -13,7 +15,7 @@ if os.path.exists('MANIFEST'): | |||
| 13 | 15 | ||
| 14 | setup( | 16 | setup( |
| 15 | name = 'MAT', | 17 | name = 'MAT', |
| 16 | version = '0.4', | 18 | version = __version__, |
| 17 | description = 'Metadata Anonymisation Toolkit', | 19 | description = 'Metadata Anonymisation Toolkit', |
| 18 | long_description = 'A Metadata Anonymisation Toolkit in Python, using python-hachoir', | 20 | long_description = 'A Metadata Anonymisation Toolkit in Python, using python-hachoir', |
| 19 | author = 'jvoisin', | 21 | author = 'jvoisin', |
