diff options
| author | Todd Willey <todd@rubidine.com> | 2010-07-15 01:31:16 -0400 |
|---|---|---|
| committer | Todd Willey <todd@rubidine.com> | 2010-07-15 01:31:16 -0400 |
| commit | 89157b250032e5a819742e4ed537222898bcdf25 (patch) | |
| tree | 8854d1cb64f717046bdd52dddf679f30e10e2ede /nova | |
| parent | c88d1f033bd600e855c57d9a65d9d832b1b0ab85 (diff) | |
remove vendor
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/vendor.py | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/nova/vendor.py b/nova/vendor.py index 552f790ba..db75f30ec 100644 --- a/nova/vendor.py +++ b/nova/vendor.py @@ -20,27 +20,5 @@ Get our vendor folders into the system path. """ -import os -import sys +print 'sorry, we cannot include vendor open source libraries... :(' -# abspath/__file__/../vendor -VENDOR_PATH = os.path.abspath( - os.path.join(os.path.dirname(os.path.dirname(__file__)), 'vendor')) - -if not os.path.exists(VENDOR_PATH): - print 'warning: no vendor libraries included' -else: - paths = [VENDOR_PATH, - os.path.join(VENDOR_PATH, 'pymox'), - os.path.join(VENDOR_PATH, 'tornado'), - os.path.join(VENDOR_PATH, 'python-gflags'), - os.path.join(VENDOR_PATH, 'python-daemon'), - os.path.join(VENDOR_PATH, 'lockfile'), - os.path.join(VENDOR_PATH, 'boto'), - os.path.join(VENDOR_PATH, 'Twisted-10.0.0'), - os.path.join(VENDOR_PATH, 'redis-py'), - ] - - for p in paths: - if p not in sys.path: - sys.path.insert(0, p) |
