forked from github.com/pypiserver

python 2.5 needs an older webob version. so, we add the dependency in tox.ini. we use tox to run the tests on travis. remove python 3.3 from travis.yml as it's not there yet.
16 lines
253 B
Python
Executable File
16 lines
253 B
Python
Executable File
#! /usr/bin/env python
|
|
|
|
|
|
def main():
|
|
import sys, os
|
|
if hasattr(sys, "pypy_version_info"):
|
|
v = "pypy"
|
|
else:
|
|
v = "py%s%s" % (sys.version_info[:2])
|
|
|
|
os.execvp("tox", ["tox", "-e", v])
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|