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
 
@@ -15,12 +15,13 @@
 
#
 
# You should have received a copy of the GNU General Public License along with
 
# Django Conntrackt.  If not, see <http://www.gnu.org/licenses/>.
 
#
 

	
 

	
 
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
 
@@ -17,7 +17,9 @@
 
# Django Conntrackt.  If not, see <http://www.gnu.org/licenses/>.
 
#
 

	
 

	
 
-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
 
@@ -21,14 +21,14 @@
 

	
 
import os
 
from setuptools import setup, find_packages
 
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)))
 

	
 
setup(
 
    name='django-conntrackt',
0 comments (0 inline, 0 general)