forked from williamh/pybugz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
25 lines (24 loc) · 767 Bytes
/
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
from bugz import __version__
from distutils.core import setup
try:
from distutils.command.build_py import build_py_2to3 as build_py
from distutils.command.build_scripts import build_scripts_2to3 as build_scripts
except ImportError:
from distutils.command.build_py import build_py
from distutils.command.build_scripts import build_scripts
setup(
name = 'pybugz',
version = __version__,
description = 'python interface to bugzilla',
author = 'Alastair Tse',
author_email = '[email protected]',
url = 'http://www.liquidx.net/pybugz',
license = "GPL-2",
platforms = ['any'],
packages = ['bugz'],
scripts = ['bin/bugz'],
data_files = [
('/usr/share/man/man1', ['man/bugz.1']),
],
cmdclass = {'build_py': build_py, 'build_scripts': build_scripts},
)