Skip to content

Commit 2143598

Browse files
committed
fix setup.py
1 parent ff7ed7c commit 2143598

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

setup.py

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,19 @@
22

33
from distutils.core import setup
44

5-
6-
def find_requirements():
7-
ret = []
8-
with open('requirements.pip') as f:
9-
for line in f:
10-
if not line.startswith('#'):
11-
ret.append(line)
12-
return ret
13-
14-
155
setup(
166
name='docker-make',
177
description='a tool for simplifying docker image building and pushing',
18-
version='1.0',
8+
version='1.0.1',
199
author='jizhilong',
2010
author_email='zhilongji@gmail.com',
2111
url='https://github.com/CtripCloud/docker-make',
2212
license='Apache',
2313
keywords=['docker', 'image',' build'],
2414
scripts=['docker-make'],
25-
install_requires=find_requirements(),
15+
install_requires=[
16+
'PyYAML >= 3.10, < 4',
17+
'docker-py >= 1.8.1, < 2',
18+
],
2619
classifiers=[],
2720
)

0 commit comments

Comments
 (0)