mirror of
https://github.com/pypiserver/pypiserver
synced 2025-02-22 19:19:37 +01:00

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()
|