-
Notifications
You must be signed in to change notification settings - Fork 39
/
setup.py
executable file
·86 lines (79 loc) · 3.04 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#! /usr/bin/env python3
# Copyright (C) 2015 Sebastian Pipping <sebastian@pipping.org>
# Licensed under AGPL v3 or later
import glob
import os
from setuptools import find_packages, setup
from directory_bootstrap.shared.metadata import (
GITHUB_HOME_URL, PACKAGE_NAME, VERSION_STR)
_tests_require = [
'pytest',
]
_extras_require = {
'tests': _tests_require,
}
if __name__ == '__main__':
setup(
name=PACKAGE_NAME,
description='Command line tool for creating bootable virtual machine images',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
license='AGPL v3 or later',
version=VERSION_STR,
author='Sebastian Pipping',
author_email='sebastian@pipping.org',
url=GITHUB_HOME_URL,
python_requires='>=3.9',
setup_requires=[
'setuptools>=38.6.0', # for long_description_content_type
],
install_requires=[
'beautifulsoup4',
'colorama',
'lxml',
'requests',
'setuptools',
'PyYAML',
],
tests_require=_tests_require,
extras_require=_extras_require,
packages=[
p for p in find_packages() if not p.endswith('.test')
],
package_data={
'directory_bootstrap': [
'resources/alpine/ncopa.asc',
] + [
os.path.relpath(p, 'directory_bootstrap')
for p
in glob.glob('directory_bootstrap/resources/*/*.asc')
],
},
entry_points={
'console_scripts': [
'directory-bootstrap = directory_bootstrap.__main__:main',
'image-bootstrap = image_bootstrap.__main__:main',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: OpenStack',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3 :: Only',
'Topic :: System :: Installation/Setup',
'Topic :: Utilities',
],
)