blob: 7b629f5435ba1dfca6b98767a140e83ada55f08c [file] [log] [blame]
#!/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,
)