File: virtualenv

package info (click to toggle)
python-virtualenv 15.1.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 744 kB
  • ctags: 551
  • sloc: python: 2,781; sh: 158; makefile: 126; csh: 17
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()