Skip to content
Snippets Groups Projects
Commit 284141e5 authored by John Chilton's avatar John Chilton
Browse files

Break requirements file into main and development requirements. Move from...

Break requirements file into main and development requirements. Move from tools/pip-requires to requirements.txt and dev-requirements.txt. Update README and travis configuration to reflect changes.
parent ed731195
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ python: ...@@ -8,6 +8,7 @@ python:
- 3.3 - 3.3
install: install:
- sudo apt-get install libxml2-dev libxslt1-dev libcurl3 python-pycurl - sudo apt-get install libxml2-dev libxslt1-dev libcurl3 python-pycurl
- pip install -r tools/pip-requires --use-mirrors - pip install -r requirements.txt --use-mirrors
- pip install -r dev-requirements.txt --use-mirrors
script: nosetests script: nosetests
...@@ -78,7 +78,7 @@ From a Windows terminal:: ...@@ -78,7 +78,7 @@ From a Windows terminal::
4. Install required dependencies into this virtual environment:: 4. Install required dependencies into this virtual environment::
pip install -r tools/pip-requires pip install -r requirements.txt
easy_install easy_install
------------ ------------
...@@ -198,7 +198,7 @@ of your running LWR application):: ...@@ -198,7 +198,7 @@ of your running LWR application)::
This project is distributed with unit tests, the following command This project is distributed with unit tests, the following command
will install the needed python components to run these tests.:: will install the needed python components to run these tests.::
easy_install nose coverage webtest pip install -r dev-requirements.txt
The following command will then run these tests:: The following command will then run these tests::
......
# Optional requirements used by test cases
pycurl
# For testing
nose
webtest
coverage
# For dev
sphinx
...@@ -6,11 +6,3 @@ simplejson ...@@ -6,11 +6,3 @@ simplejson
webob webob
pyOpenSSL pyOpenSSL
psutil psutil
# For testing
nose
webtest
coverage
# For dev
sphinx
\ No newline at end of file
...@@ -29,7 +29,7 @@ import sys ...@@ -29,7 +29,7 @@ import sys
ROOT = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) ROOT = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
VENV = os.path.join(ROOT, '.venv') VENV = os.path.join(ROOT, '.venv')
WITH_VENV = os.path.join(ROOT, 'tools', 'with_venv.sh') WITH_VENV = os.path.join(ROOT, 'tools', 'with_venv.sh')
PIP_REQUIRES = os.path.join(ROOT, 'tools', 'pip-requires') PIP_REQUIRES = os.path.join(ROOT, 'requirements.txt')
def die(message, *args): def die(message, *args):
print >> sys.stderr, message % args print >> sys.stderr, message % args
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment