-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·24 lines (20 loc) · 762 Bytes
/
Copy pathsetup.py
File metadata and controls
executable file
·24 lines (20 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env python2.7
from setuptools import setup
description = '''Adds a command to dynamically get the version from the VCS of choice'''
with open('README.txt', 'r') as f:
long_description = f.read()
setup(
author='Joost Molenaar',
author_email='j.j.molenaar@gmail.com',
url='https://github.com/j0057/setuptools-version-command',
name='setuptools-version-command',
version='1.2',
description=description,
long_description=long_description,
packages=['setuptools_version_command'],
entry_points={
'distutils.setup_keywords': [
'version_command_pep440 = setuptools_version_command:set_pep440',
'version_command = setuptools_version_command:execute_version_command'
]
})