forked from SUSE/suse-migration-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·58 lines (52 loc) · 2.56 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
#!/usr/bin/env python
import platform
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from suse_migration_services.version import __VERSION__
python_version = platform.python_version().split('.')[0]
with open('.virtualenv.requirements.txt') as f:
requirements = f.read().splitlines()
config = {
'name': 'suse_migration_services',
'description': 'SUSE Distribution Migration Services',
'author': 'PubCloud Development team',
'url': 'https://github.com/SUSE/suse-migration-services',
'download_url': 'https://github.com/SUSE/suse-migration-services',
'author_email': '[email protected]',
'version': __VERSION__,
'install_requires': requirements,
'packages': ['suse_migration_services'],
'entry_points': {
'console_scripts': [
'suse-migration-mount-system=suse_migration_services.units.mount_system:main',
'suse-migration-ssh-keys=suse_migration_services.units.ssh_keys:main',
'suse-migration-setup-host-network=suse_migration_services.units.setup_host_network:main',
'suse-migration-prepare=suse_migration_services.units.prepare:main',
'suse-migration=suse_migration_services.units.migrate:main',
'suse-migration-grub-setup=suse_migration_services.units.grub_setup:main',
'suse-migration-update-bootloader=suse_migration_services.units.update_bootloader:main',
'suse-migration-regenerate-initrd=suse_migration_services.units.regenerate_initrd:main',
'suse-migration-kernel-load=suse_migration_services.units.kernel_load:main',
'suse-migration-reboot=suse_migration_services.units.reboot:main',
'suse-migration-product-setup=suse_migration_services.units.product_setup:main',
'suse-migration-post-mount-system=suse_migration_services.units.post_mount_system:main',
# Not installed in units as it is installed as part of the suse-migration-pre-checks
'suse-migration-pre-checks=suse_migration_services.prechecks.pre_checks:main'
]
},
'include_package_data': True,
'license': 'GPLv3',
'zip_safe': False,
'classifiers': [
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.6',
'Topic :: System :: Operating System'
]
}
setup(**config)