forked from gera/gitzilla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (27 loc) · 829 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
26
27
28
29
# fix broken behaviour - hardlinks are a FS attribute, not an OS attribute
# without doing this, the builds fail on encfs, AFS, NFS etc.
import os
if hasattr(os, 'link'):
delattr(os, 'link')
from setuptools import setup
args = dict(
name='gitzilla',
description='Git-Bugzilla integration',
author='Devendra Gera',
author_email='gera@theoldmonk.net',
url='http://www.theoldmonk.net/gitzilla/',
version='2.0',
requires=['pybugz'],
package_dir={'gitzilla': '.'},
packages=['gitzilla'],
package_data={'': ['etc/*']},
include_package_data=True,
entry_points={
'console_scripts': [
'gitzilla-post-receive = gitzilla.hookscripts:post_receive',
'gitzilla-update = gitzilla.hookscripts:update',
'gitzilla-gencookie = gitzilla.utilscripts:generate_cookiefile',
],
}
)
setup(**args)