forked from lxdock/lxdock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
62 lines (54 loc) · 1.77 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
import codecs
import sys
from os.path import abspath
from os.path import dirname
from os.path import join
from setuptools import setup, find_packages
import lxdock
if sys.version_info < (3, 4):
sys.exit('lxdock requires Python 3.4+ to run')
def read_relative_file(filename):
""" Returns contents of the given file, whose path is supposed relative to this module. """
with codecs.open(join(dirname(abspath(__file__)), filename), encoding='utf-8') as f:
return f.read()
setup(
name='lxdock',
version=lxdock.__version__,
author='Virgil Dupras, Morgan Aubert',
author_email='',
packages=find_packages(exclude=['tests.*', 'tests']),
include_package_data=True,
url='https://github.com/lxdock/lxdock',
license='GPLv3',
description='LXDock is a tool for orchestrating LXD containers.',
long_description=read_relative_file('README.rst'),
keywords='lxd lxc containers environments orchestration devops',
zip_safe=False,
install_requires=[
'colorlog>=2.0,<3.0',
'pylxd>=2.2.10',
'python-dotenv>=0.6',
'PyYAML>=3.0,<6.0',
'voluptuous>=0.9,<1.0',
],
tests_require=[
'pytest',
],
entry_points={
'console_scripts': [
'lxdock = lxdock.cli.main:main',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)