format_patch_helper: make "output" a keyword arg
[python-git.git] / setup.py
blob0da615ba04adbd5fd7a0f255301257eacb0cfc96
1 #!/usr/bin/env python
2 import ez_setup
3 ez_setup.use_setuptools()
5 from setuptools import setup
7 import os
8 from os.path import join
10 # Release versioning
11 def get_version():
12 """Runs version.sh and returns the output."""
13 cmd = join(os.path.dirname(__file__), 'scripts', 'gitversion.sh')
14 pipe = os.popen(cmd)
15 version = pipe.read()
16 pipe.close()
17 return version.strip()
19 setup(
20 name = "python-git",
21 description="A python git interface",
22 version=get_version(),
23 author="David Aguilar",
24 author_email="davvid@gmail.com",
25 url="http://ugit.sf.net/",
26 packages=['git'],
27 license="Python",
28 long_description="python-git is an interface to git, a distributed version control system.",