mirror of https://github.com/docker/compose.git
Put requirements back in .txt files
Read-only FS in travis
This commit is contained in:
parent
0760ea1b00
commit
7888027425
|
@ -0,0 +1,2 @@
|
||||||
|
nose==1.3.0
|
||||||
|
unittest2==0.5.1
|
|
@ -0,0 +1,5 @@
|
||||||
|
docker-py==0.2.3
|
||||||
|
docopt==0.6.1
|
||||||
|
PyYAML==3.10
|
||||||
|
# docker requires six==1.3.0
|
||||||
|
six==1.3.0
|
18
setup.py
18
setup.py
|
@ -22,6 +22,11 @@ def find_version(*file_paths):
|
||||||
return version_match.group(1)
|
return version_match.group(1)
|
||||||
raise RuntimeError("Unable to find version string.")
|
raise RuntimeError("Unable to find version string.")
|
||||||
|
|
||||||
|
with open('requirements.txt') as f:
|
||||||
|
install_requires = f.read().splitlines()
|
||||||
|
|
||||||
|
with open('requirements-dev.txt') as f:
|
||||||
|
tests_require = f.read().splitlines()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='fig',
|
name='fig',
|
||||||
|
@ -33,17 +38,8 @@ setup(
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
test_suite='nose.collector',
|
test_suite='nose.collector',
|
||||||
install_requires=[
|
install_requires=install_requires,
|
||||||
'docker-py==0.2.3',
|
tests_require=tests_require,
|
||||||
'docopt==0.6.1',
|
|
||||||
'PyYAML==3.10',
|
|
||||||
# unfortunately `docker` requires six ==1.3.0
|
|
||||||
'six==1.3.0',
|
|
||||||
],
|
|
||||||
tests_require=[
|
|
||||||
'nose==1.3.0',
|
|
||||||
'unittest2==0.5.1'
|
|
||||||
],
|
|
||||||
entry_points="""
|
entry_points="""
|
||||||
[console_scripts]
|
[console_scripts]
|
||||||
fig=fig.cli.main:main
|
fig=fig.cli.main:main
|
||||||
|
|
Loading…
Reference in New Issue