1
0
mirror of https://github.com/pypiserver/pypiserver synced 2024-11-09 16:45:51 +01:00
pypiserver/.travis-runtox.py

16 lines
253 B
Python
Raw Normal View History

#! /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()