Convert "struct cache_entry *" to "const ..." wherever possible
[git/debian.git] / git_remote_helpers / setup.py
blob6de41deb4435e76e349e67cc886bb92b8cb92e78
1 #!/usr/bin/env python
3 """Distutils build/install script for the git_remote_helpers package."""
5 from distutils.core import setup
7 # If building under Python3 we need to run 2to3 on the code, do this by
8 # trying to import distutils' 2to3 builder, which is only available in
9 # Python3.
10 try:
11 from distutils.command.build_py import build_py_2to3 as build_py
12 except ImportError:
13 # 2.x
14 from distutils.command.build_py import build_py
16 setup(
17 name = 'git_remote_helpers',
18 version = '0.1.0',
19 description = 'Git remote helper program for non-git repositories',
20 license = 'GPLv2',
21 author = 'The Git Community',
22 author_email = 'git@vger.kernel.org',
23 url = 'http://www.git-scm.com/',
24 package_dir = {'git_remote_helpers': ''},
25 packages = ['git_remote_helpers', 'git_remote_helpers.git'],
26 cmdclass = {'build_py': build_py},