forked from amluto/virtme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·49 lines (44 loc) · 1.51 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
#!/usr/bin/env python3
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.version_info < (3,3):
print('virtme requires Python 3.3 or higher')
sys.exit(1)
_VERSION = '0.0.3'
setup(
name='virtme',
version=_VERSION,
author='Andy Lutomirski',
author_email='luto@amacapital.net',
description='Virtualize the running distro or a simple rootfs',
url='https://git.kernel.org/cgit/utils/kernel/virtme/virtme.git',
download_url='https://www.kernel.org/pub/linux/utils/kernel/virtme/releases/virtme-%s.tar.xz' % _VERSION,
license='GPLv2',
long_description=open(os.path.join(os.path.dirname(__file__),
'README.md'), 'r').read(),
packages=['virtme', 'virtme.commands'],
install_requires=[],
entry_points = {
'console_scripts': [
'virtme-run = virtme.commands.run:main',
'virtme-configkernel = virtme.commands.configkernel:main',
]
},
data_files = [
('share/virtme-guest-0',
['virtme/guest/virtme-init',
'virtme/guest/virtme-udhcpc-script',
'virtme/guest/virtme-loadmods',
]),
],
classifiers=['Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Operating System :: POSIX :: Linux',
]
)