respect venv

Change shebang to use env to ask for the python interpreter,
this allows the scripts to run while respecting a virtual
environment.

Closes: https://github.com/vmware/pyvmomi/issues/151
This commit is contained in:
Shawn Hartsock
2014-09-02 17:17:27 -04:00
parent 9d08442af0
commit c57f4775c6
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
# VMware vSphere Python SDK # VMware vSphere Python SDK
# Copyright (c) 2008-2013 VMware, Inc. All Rights Reserved. # Copyright (c) 2008-2013 VMware, Inc. All Rights Reserved.
# #

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
# #
# VMware vSphere Python SDK # VMware vSphere Python SDK
# Copyright (c) 2008-2014 VMware, Inc. All Rights Reserved. # Copyright (c) 2008-2014 VMware, Inc. All Rights Reserved.