in setup.py [0:0]
def run_tests(self): # Run nose ensuring that argv simulates running nosetests directly import nose nose.run_exit(argv=["nosetests"])