aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
blob: 7b629f5435ba1dfca6b98767a140e83ada55f08c (plain)
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
#!/usr/bin/env python3

import os
import sys
from setuptools import setup

if sys.version_info < (3,3):
    print('virtme requires Python 3.3 or higher')
    sys.exit(1)

_VERSION = '0.1.1'

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', 'virtme.guest'],
    install_requires=[],
    entry_points = {
        'console_scripts': [
            'virtme-run = virtme.commands.run:main',
            'virtme-configkernel = virtme.commands.configkernel:main',
            'virtme-mkinitramfs = virtme.commands.mkinitramfs:main',
        ]
    },
    scripts = [
        'bin/virtme-prep-kdir-mods',
        ],
    package_data = {
        'virtme.guest': [
            'virtme-init',
            'virtme-udhcpc-script',
        ],
    },
    classifiers=['Environment :: Console',
                 'Intended Audience :: Developers',
                 'Intended Audience :: System Administrators',
                 'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
                 'Operating System :: POSIX :: Linux',
             ],

    # virtme actually does work as a zip, but that forces the guest
    # tools to get extracted at run time.
    zip_safe = False,
)