This repository was archived by the owner on Jan 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
59 lines (52 loc) · 1.86 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
from distutils.spawn import find_executable
import os
from setuptools import setup, find_packages
from dockermap import __version__
def include_readme():
try:
import pandoc
except ImportError:
return b''
pandoc.core.PANDOC_PATH = find_executable('pandoc')
readme_file = os.path.join(os.path.dirname(__file__), 'README.md')
doc = pandoc.Document()
with open(readme_file, 'r') as rf:
doc.markdown = rf.read()
return doc.rst.decode('utf-8')
REQUIRED_PACKAGES = ['six', 'enum34;python_version<"3.4"']
setup(
name='docker-map',
version=__version__,
packages=find_packages(),
install_requires=REQUIRED_PACKAGES,
extras_require={
'yaml': ['PyYAML'],
'legacy': ['docker-py>=1.9.0'],
'docker': ['docker'],
},
license='MIT',
author='Matthias Erll',
author_email='[email protected]',
url='https://github.com/merll/docker-map',
description='Managing Docker images, containers, and their dependencies in Python.',
long_description=include_readme(),
platforms=['OS Independent'],
keywords=['docker', 'deployment'],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Build Tools',
'Topic :: System :: Software Distribution',
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
include_package_data=True,
)