File: virtualenv

package info (click to toggle)
python-virtualenv 1.11.6+ds-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 728 kB
  • ctags: 526
  • sloc: python: 2,521; makefile: 121; sh: 52; csh: 21
file content (12 lines) | stat: -rw-r--r-- 382 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/python3
import virtualenv

# Debian: Barry Warsaw <barry@debian.org> 2014-06-02
# Instead of using the bundled wheels, use the ones in the archive.
import sys
for path in virtualenv.find_wheels(virtualenv.DEBIAN_WHEEL_DEPS,
                                   ['/usr/share/python-wheels']):
    if path not in sys.path:
        sys.path.insert(0, path)

virtualenv.main()