Skip to content

Commit

Permalink
setup.py update
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto@sirius committed Mar 9, 2010
1 parent 793dcd9 commit baff440
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Expand Up @@ -9,7 +9,7 @@


def is_yes(name, d):
sys.stderr.write("enable %s ? y/n [%s]>\n" % (name, d))
sys.stderr.write("enable %s ? y/n [%s]>" % (name, d))
x = raw_input()
if x is None:
x = d
Expand All @@ -33,14 +33,14 @@ def run(self):
uc.ERLANG = is_yes( "ERLANG", 'n' )
uc.SCTP = is_yes( "experimental SCTP", 'n' )
uc.parse_vars()
uc.build_uwsgi(sys.prefix + '/bin/' + uc.UWSGI_BIN_NAME, uc.uver, uc.cflags, uc.ldflags)
uc.build_uwsgi(sys.prefix + '/bin/' + uc.UWSGI_BIN_NAME)


class uWSGIInstall(install):

def run(self):
uc.parse_vars()
uc.build_uwsgi(sys.prefix + '/bin/' + uc.UWSGI_BIN_NAME, uc.uver, uc.cflags, uc.ldflags)
uc.build_uwsgi(sys.prefix + '/bin/' + uc.UWSGI_BIN_NAME)

class uWSGIDistribution(Distribution):

Expand Down

0 comments on commit baff440

Please sign in to comment.