git.fiddlerwoaroof.com
Browse code

relocatable virtualenv

fiddlerwoaroof authored on 08/08/2014 02:38:36
Showing 4 changed files
... ...
@@ -1,4 +1,7 @@
1
-#!/home/edwlan/github_repos/pybrowse/bin/python2.7
1
+#!/usr/bin/env python2.7
2
+
3
+import os; activate_this=os.path.join(os.path.dirname(os.path.realpath(__file__)), 'activate_this.py'); execfile(activate_this, dict(__file__=activate_this)); del os, activate_this
4
+
2 5
 # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==0.6c11','console_scripts','easy_install'
3 6
 __requires__ = 'setuptools==0.6c11'
4 7
 import sys
... ...
@@ -6,4 +9,4 @@ from pkg_resources import load_entry_point
6 9
 
7 10
 sys.exit(
8 11
    load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')()
9
-)
12
+)
10 13
\ No newline at end of file
... ...
@@ -1,4 +1,7 @@
1
-#!/home/edwlan/github_repos/pybrowse/bin/python2.7
1
+#!/usr/bin/env python2.7
2
+
3
+import os; activate_this=os.path.join(os.path.dirname(os.path.realpath(__file__)), 'activate_this.py'); execfile(activate_this, dict(__file__=activate_this)); del os, activate_this
4
+
2 5
 # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==0.6c11','console_scripts','easy_install-2.7'
3 6
 __requires__ = 'setuptools==0.6c11'
4 7
 import sys
... ...
@@ -6,4 +9,4 @@ from pkg_resources import load_entry_point
6 9
 
7 10
 sys.exit(
8 11
    load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install-2.7')()
9
-)
12
+)
10 13
\ No newline at end of file
... ...
@@ -1,4 +1,7 @@
1
-#!/home/edwlan/github_repos/pybrowse/bin/python2.7
1
+#!/usr/bin/env python2.7
2
+
3
+import os; activate_this=os.path.join(os.path.dirname(os.path.realpath(__file__)), 'activate_this.py'); execfile(activate_this, dict(__file__=activate_this)); del os, activate_this
4
+
2 5
 # EASY-INSTALL-ENTRY-SCRIPT: 'pip==1.3.1','console_scripts','pip'
3 6
 __requires__ = 'pip==1.3.1'
4 7
 import sys
... ...
@@ -6,4 +9,4 @@ from pkg_resources import load_entry_point
6 9
 
7 10
 sys.exit(
8 11
    load_entry_point('pip==1.3.1', 'console_scripts', 'pip')()
9
-)
12
+)
10 13
\ No newline at end of file
... ...
@@ -1,4 +1,7 @@
1
-#!/home/edwlan/github_repos/pybrowse/bin/python2.7
1
+#!/usr/bin/env python2.7
2
+
3
+import os; activate_this=os.path.join(os.path.dirname(os.path.realpath(__file__)), 'activate_this.py'); execfile(activate_this, dict(__file__=activate_this)); del os, activate_this
4
+
2 5
 # EASY-INSTALL-ENTRY-SCRIPT: 'pip==1.3.1','console_scripts','pip-2.7'
3 6
 __requires__ = 'pip==1.3.1'
4 7
 import sys
... ...
@@ -6,4 +9,4 @@ from pkg_resources import load_entry_point
6 9
 
7 10
 sys.exit(
8 11
    load_entry_point('pip==1.3.1', 'console_scripts', 'pip-2.7')()
9
-)
12
+)
10 13
\ No newline at end of file