forked from msabramo/setuptools-version-command
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·36 lines (32 loc) · 1.23 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·36 lines (32 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/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.rst', 'r') as f:
long_description = f.read()
setup(
name='setuptools-version-command',
author='Joost Molenaar',
author_email='j.j.molenaar@gmail.com',
url='https://github.com/j0057/setuptools-version-command',
version='1.3.5',
description=description,
long_description=long_description,
license='http://opensource.org/licenses/MIT',
classifiers=[
'Framework :: Setuptools Plugin',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7'
'Programming Language :: Python :: 2 :: Only'
],
py_modules=['setuptools_version_command'],
entry_points={
'distutils.setup_keywords': [
'version_command = setuptools_version_command:validate_version_command_keyword'
],
'egg_info.writers': [
'version.txt = setuptools_version_command:write_metadata_value',
'version_full.txt = setuptools_version_command:write_metadata_value'
]
})