示例#1
0
 def __call__(self, argv):
     sys.stdout.write("Running %s\n" % (argv,))
     __main__.main(["pypi-server"] + argv)
     return self.run_kwargs
示例#2
0
 def __call__(self, argv):
     sys.stdout.write(f"Running {argv}\n")
     __main__.main(["pypi-server"] + argv)
     return self.run_kwargs
示例#3
0
 def __call__(self, argv):
     sys.stdout.write("Running %s\n" % (argv, ))
     __main__.main(["pypi-server"] + argv)
     return self.run_kwargs
示例#4
0
 def __call__(self, argv):
     sys.stdout.write(f"Running {argv}\n")
     # always sets the package directory to this directory, regardless of
     # other passed args.
     __main__.main([str(THIS_DIR)] + argv)
     return self.run_kwargs