~ubuntu-branches/ubuntu/trusty/python-keystoneclient/trusty-proposed

« back to all changes in this revision

Viewing changes to tools/install_venv.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-08-16 12:34:22 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20120816123422-hw1qunw9j19gixpa
Tags: 1:0.1.2-0ubuntu1
* New upstream release.
* debian/watch: Updated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
ROOT = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
33
33
VENV = os.path.join(ROOT, '.venv')
34
34
PIP_REQUIRES = os.path.join(ROOT, 'tools', 'pip-requires')
 
35
TEST_REQUIRES = os.path.join(ROOT, 'tools', 'test-requires')
35
36
PY_VERSION = "python%s.%s" % (sys.version_info[0], sys.version_info[1])
36
37
 
37
38
 
188
189
    pip_install('distribute')
189
190
 
190
191
    pip_install('-r', PIP_REQUIRES)
 
192
    pip_install('-r', TEST_REQUIRES)
191
193
 
192
194
    # Tell the virtual env how to "import nova"
193
195
    pthfile = os.path.join(venv, "lib", PY_VERSION, "site-packages",