mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-05 02:58:47 +08:00
detect buildout and add buildout eggs to sys.path
This commit is contained in:
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.
Reference in new issue
Block a user