-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (31 loc) · 895 Bytes
/
setup.py
File metadata and controls
34 lines (31 loc) · 895 Bytes
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
import re
from setuptools import setup, find_packages
from codecs import open
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
with open('dockerfactory/__init__.py', 'r') as fd:
version = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
setup(
name='dockerfactory',
long_description=readme,
author='Michael Thornton',
description='Control the context of your docker builds.',
license='MIT',
author_email='six8@devdetails.com',
url='https://github.com/six8/dockerfactory',
packages=find_packages(),
package_dir={'': '.'},
version=version,
install_requires=[
'click>=6.2,<7',
'pyyaml>=3.11,<4',
'schematics>=1.1.1,<2',
],
entry_points={
'console_scripts': [
'dockerfactory = dockerfactory.__main__:cli',
]
}
)