-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
executable file
·56 lines (51 loc) · 1.84 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
#!/usr/bin/env python3
# Copyright (c) 2016-2020 Balabit
#
# This file is part of Furnace.
#
# Furnace is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 2.1 of the License, or
# (at your option) any later version.
#
# Furnace is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Furnace. If not, see <http://www.gnu.org/licenses/>.
#
import os
import sys
from pathlib import Path
from setuptools import setup, find_packages
from furnace.version import get_version
if sys.version_info < (3, 6):
sys.exit('Python version 3.6+ is required for furnace')
with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='furnace',
version=get_version(),
description='A lightweight pure-python container implementation',
long_description=long_description,
url='https://github.com/balabit/furnace',
keywords='containers containerization',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Topic :: System',
],
packages=find_packages(include=["furnace*"]),
extras_require={
'dev': Path('requirements-dev.txt').read_text()
},
package_data={'furnace': [
'VERSION',
]},
python_requires=">=3.6",
)