-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
54 lines (50 loc) · 1.55 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env python
# encoding: utf-8
"""
setup.py
Created by 黄 冬 on 2007-11-19.
Copyright (c) 2007 __MyCompanyName__. All rights reserved.
"""
import os
from setuptools import setup, find_packages
import sys
setup(
name = 'xbaydns',
version = '1.0.1',
description = 'xBayDNS System',
long_description = \
"""DNS and GSLB Manager System""",
author = 'xBay Team',
author_email = 'huangdong@gmail.com',
license = 'BSD License',
url = 'http://xbaydns.googlecode.com',
download_url = 'http://code.google.com/p/xbaydns/downloads/list',
zip_safe = False,
package_data = {
'xbaydns.tools': ['templates/default/*.tmpl',
'templates/Darwin/*/*.tmpl',
'templates/FreeBSD/*/*.tmpl',
'templates/OpenBSD/*/*.tmpl',
],
},
packages = find_packages(exclude=['*tests*']),
include_package_data = True,
scripts = [
'xbaydns/tools/xdloadview',
'xbaydns/tools/xdweb',
'xbaydns/tools/xdsetup',
'xbaydns/tools/xdmaster',
'xbaydns/tools/xdagent',
'xbaydns/tools/xdslave',
'xbaydns/tools/cleanup'],
test_suite = 'xbaydns.tests.suite',
entry_points = {
'console_scripts': [
'xdinitbind = xbaydns.tools.initconf:main',
'xdsync = xbaydns.tools.confsync:main',
'xdwherepkg = xbaydns.utils.pkg:main',
'xdidc2view = xbaydns.tools.master.idcview:main',
'xdreg = xbaydns.tools.xdreg:main'
]
}
)