-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
executable file
·49 lines (42 loc) · 1.27 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
"""igvm - Setup
Copyright (c) 2024 InnoGames GmbH
"""
from setuptools import setup
from igvm import VERSION
def install_requires():
# This isn't the recommended way because install_requires and
# requirements.txt are for different things but in our case this
# is the bare minimum we need.
#
# See: https://packaging.python.org/en/latest/discussions/install-requires-vs-requirements
with open('requirements.txt') as f:
return f.readlines()
setup(
name='igvm',
version='.'.join(str(v) for v in VERSION),
packages=['igvm'],
entry_points={
'console_scripts': [
'igvm=igvm.cli:main',
],
},
package_data={
'igvm': [
'templates/aws_user_data.cfg',
'templates/domain.xml',
'templates/etc/network/interfaces',
'templates/etc/fstab',
'templates/etc/hosts',
'templates/etc/inittab',
'templates/etc/resolv.conf',
'scripts/ssh_wrapper',
]
},
author='InnoGames System Administration',
author_email='[email protected]',
license='MIT',
platforms='POSIX',
description='InnoGames VM Provisioning Tool',
url='https://github.com/innogames/igvm',
install_requires=install_requires(),
)