diff --git a/setup.py b/setup.py index 6e443fdc..f4fa090b 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,11 @@ if uver != "25": bin_name = "%s%s" % (bin_name, uver) make_cmd = "%s -f Makefile.Py%s" % (make_cmd, uver) -os.system(make_cmd) +try: + if sys.argv[1] == 'install': + os.system(make_cmd) +except: + pass from distutils.core import setup diff --git a/uwsgi.c b/uwsgi.c index 28269110..f7ac7018 100644 --- a/uwsgi.c +++ b/uwsgi.c @@ -849,11 +849,11 @@ int main(int argc, char *argv[], char *envp[]) { \t--uid \t\t\tsetuid to (only root)\n\ \t--sync-log\t\t\tlet uWSGI does its best to avoid logfile mess\n\ \t--no-server\t\t\tinitialize the uWSGI server then exit. Useful for testing and using uwsgi embedded module\n\ -\t--no-defer-accept\tdisable the no-standard way to defer the accept() call (TCP_DEFER_ACCEPT, SO_ACCEPTFILTER...)\n\ +\t--no-defer-accept\t\tdisable the no-standard way to defer the accept() call (TCP_DEFER_ACCEPT, SO_ACCEPTFILTER...)\n\ \t--paste \t\tload applications using paste.deploy.loadapp()\n\ \t--check-interval \t\tset the check interval (in seconds) of the master process\n\ \t--pythonpath \t\tadd to PYTHONPATH\n\ -\t--pyargv \t\tassign args to python sys.argv\n\ +\t--pyargv \t\t\tassign args to python sys.argv\n\ \t-d|--daemonize \tdaemonize and log into \n", argv[0]); exit(1); case 0: