detect buildout and add buildout eggs to sys.path

This commit is contained in:
Mathias Fussenegger committed 2014-06-18 18:30:11 +02:00
1 parent f5f8d99233
commit bf43fcf1c6
7 files changed
+241 -73

No files matched your search

@@ -0,0 +1,12 @@
#!/usr/bin/python
import sys
sys.path[0:0] = [
'/usr/lib/python3.4/site-packages',
'/tmp/.buildout/eggs/important_package.egg'
]
import important_package
if __name__ == '__main__':
sys.exit(important_package.main())
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.