-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
33 lines (28 loc) · 1.19 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
from setuptools import setup, find_packages
import platform
import os
data_files = [('/etc/cdmiproxy', ['vcdm-linux.conf', 'vcdm-defaults.conf',
'users.db', 'users.db.md5']),
('/etc/cdmiproxy/server_credentials',
['server_credentials/cert.pem', 'server_credentials/key.pem']),
('/opt/vcdmdata', [])]
if platform.system() == 'Windows':
data_files = [('cdmiproxy', ['vcdm-win.conf', 'vcdm-defaults.conf',
'users.db', 'users.db.md5']),
(os.path.join('cdmiproxy', 'server_credentials'),
['server_credentials/cert.pem', 'server_credentials/key.pem'])]
setup(
name = "cdmiproxy",
version = "0.1",
description = """CDMI Proxy""",
author = "Ilja Livenson",
author_email = "[email protected]",
packages = find_packages(where='src'),
package_dir = {'': 'src'},
data_files = data_files,
install_requires = ['zope.interface',
'Twisted',
'CouchDB',
'pyOpenSSL'],
entry_points = {'console_scripts': ['cdmipd = vcdm.daemon:main']}
)