forked from ajenti/ajenti
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·36 lines (31 loc) · 1.06 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
#!/usr/bin/env python
from distutils.core import setup
from setuptools import find_packages
import ajenti
__requires = filter(None, open('requirements.txt').read().splitlines())
exclusion = [
'ajenti.plugins.elements',
'ajenti.plugins.ltfs',
'ajenti.plugins.ltfs*',
'ajenti.plugins.vh',
'ajenti.plugins.vh*',
'ajenti.plugins.custom*',
'ajenti.plugins.test*',
]
setup(
name='ajenti',
version=ajenti.__version__,
install_requires=__requires,
description='The server administration panel',
author='Eugeny Pankov',
author_email='[email protected]',
url='http://ajenti.org/',
packages=find_packages(exclude=['reconfigure', 'reconfigure.*'] + exclusion),
package_data={'': ['content/*.*', 'content/*/*.*', 'content/*/*/*.*', 'layout/*.*', 'locales/*/*/*.mo']},
scripts=['ajenti-panel', 'ajenti-ssl-gen', 'ajenti-ipc'],
data_files=[
('/etc/ajenti', ['packaging/files/config.json']),
('/etc/init.d', ['packaging/files/ajenti']),
('/var/lib/ajenti/plugins', ['packaging/files/.placeholder']),
],
)