forked from vcstools/vcstools
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
38 lines (33 loc) · 1.3 KB
/
setup.py
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
37
38
from setuptools import setup
import imp
def get_version():
ver_file = None
try:
ver_file, pathname, description = imp.find_module('__version__', ['src/vcstools'])
vermod = imp.load_module('__version__', ver_file, pathname, description)
version = vermod.version
return version
finally:
if ver_file is not None:
ver_file.close()
setup(name='vcstools',
version=get_version(),
packages=['vcstools'],
package_dir={'': 'src'},
scripts=[],
install_requires=['pyyaml','python-dateutil'],
author="Tully Foote, Thibault Kruse, Ken Conley",
author_email="[email protected]",
url="http://www.ros.org/wiki/vcstools",
download_url="http://pr.willowgarage.com/downloads/vcstools/",
keywords=["scm", "vcs", "git", "svn", "hg", "bzr"],
classifiers=["Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License"],
description="VCS/SCM source control library for svn, git, hg, and bzr",
long_description="""\
Library for managing source code trees from multiple version control systems.
Current supports svn, git, hg, and bzr.
""",
license="BSD")