1 import sys
, os
, subprocess
2 import nil
.environment
, nil
.setup
8 nil
.environment
.unix_like()
10 if not nil
.setup
.has_command(['/usr/bin/python%s' % python_version
, '-V']):
11 print 'Unable to detect Python %s.' % python_version
14 path
= os
.path
.join(os
.path
.dirname(nil
.environment
.get_script_path()), package
)
15 link_name
= '/usr/local/lib/python2.6/dist-packages/%s' % package
17 nil
.setup
.symlink(path
, link_name
)