-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
72 lines (63 loc) · 1.91 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/usr/bin/env python
# TODO: migrate to distribute?
#import distribute_setup
#distribute_setup.use_setuptools()
import os.path
import sys
from glob import glob
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def readme():
try:
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f:
return f.read()
except (IOError, OSError):
return ''
def get_version():
src_path = os.path.join(os.path.dirname(__file__), 'picostack')
sys.path.append(src_path)
import picostack
return picostack.__version__
setup(
name='picostack',
version=get_version(),
description='A super lightweight KVM virtualization manager',
long_description=readme(),
author='Yauhen Yakimovich',
author_email='[email protected]',
url='https://github.com/ewiger/picostack',
license='MIT',
scripts=['picostk', 'picostk-django', 'picostk-sockify'],
packages=[
'picostack', 'picostack.vms', 'picostack.vms.templatetags',
],
package_data={
'': ['*.html', '*.svg', '*.js', '*.png', '*.css'],
},
include_package_data=True,
download_url='https://github.com/ewiger/picostack/tarball/master',
install_requires=[
'sh >= 1.11',
'daemoncxt >= 1.5.7',
'Django >= 1.8.2',
'psutil >= 2.1.1',
'django-bootstrap3 >= 4.4.1',
'websockify >= 0.7.0',
],
data_files=[
('/etc/init.d', ['pstk']),
],
classifiers=[
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: System :: Emulators',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Framework :: Django',
'Development Status :: 4 - Beta',
'Operating System :: POSIX :: Linux',
],
)