Changeset - b095ecbfe2e7
[Not reviewed]
default
0 3 0
Branko Majic (branko) - 7 years ago 2017-04-30 16:35:42
branko@majic.rs
Fixed a bunch of requirements through pinning. Updated setup.py to hack around the new pip internal API for parsing requirements.
3 files changed with 8 insertions and 5 deletions:
0 comments (0 inline, 0 general)
requirements/base.txt
Show inline comments
 
@@ -18,9 +18,10 @@
 
#
 

	
 

	
 
django>=1.5
 
django~=1.5.0
 
South
 
django-braces
 
django-crispy-forms
 
palette==0.2
 
pyparsing==1.5.7
 
pydot
 
pydot==1.2.3
requirements/test.txt
Show inline comments
 
@@ -20,4 +20,6 @@
 

	
 
-r base.txt
 
coverage
 
django-discover-runner
 
django-discover-runner==0.3
 
factory_boy==2.1.2
 
mock==1.3.0
setup.py
Show inline comments
 
@@ -24,8 +24,8 @@ from setuptools import setup, find_packa
 
from pip.req import parse_requirements
 

	
 
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
 
INSTALL_REQUIREMENTS = [str(r.req) for r in parse_requirements("requirements/production.txt")]
 
TEST_REQUIREMENTS = [str(r.req) for r in parse_requirements("requirements/test.txt")]
 
INSTALL_REQUIREMENTS = [str(r.req) for r in parse_requirements("requirements/production.txt", session='hack')]
 
TEST_REQUIREMENTS = [str(r.req) for r in parse_requirements("requirements/test.txt", session='hack')]
 

	
 
# allow setup.py to be run from any path
 
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
0 comments (0 inline, 0 general)