1
# vim: tabstop=4 shiftwidth=4 softtabstop=4
3
# Copyright 2013 Red Hat, Inc.
5
# Licensed under the Apache License, Version 2.0 (the "License"); you may
6
# not use this file except in compliance with the License. You may obtain
7
# a copy of the License at
9
# http://www.apache.org/licenses/LICENSE-2.0
11
# Unless required by applicable law or agreed to in writing, software
12
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14
# License for the specific language governing permissions and limitations
20
import install_venv_common as install_venv
24
root = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
26
venv = os.environ['VIRTUAL_ENV']
28
pip_requires = os.path.join(root, 'tools', 'pip-requires')
29
test_requires = os.path.join(root, 'tools', 'test-requires')
30
py_version = "python%s.%s" % (sys.version_info[0], sys.version_info[1])
32
install = install_venv.InstallVenv(root, venv, pip_requires, test_requires,
34
#NOTE(dprince): For Tox we only run post_process (which patches files, etc)
35
install.post_process()
37
if __name__ == '__main__':