got rid pyc file
This commit is contained in:
parent
23da1736ee
commit
829b1d3cb0
3 changed files with 4 additions and 2 deletions
BIN
api.pyc
BIN
api.pyc
Binary file not shown.
|
|
@ -370,7 +370,7 @@ def generate_scripts(template_name, make_copy=False):
|
|||
@task
|
||||
def generate(param=None, make_copy=False):
|
||||
SCRIPT_LIST = ['settings', 'local', 'wsgi']
|
||||
PARAM_LIST = SCRIPT_LIST
|
||||
PARAM_LIST = list(SCRIPT_LIST)
|
||||
PARAM_LIST.append('gunicorn')
|
||||
|
||||
make_copy = booleanize(make_copy)
|
||||
|
|
@ -399,6 +399,8 @@ def generate(param=None, make_copy=False):
|
|||
for scriptkey in SCRIPT_LIST:
|
||||
generate_scripts(scriptkey, make_copy)
|
||||
|
||||
generate_gunicorn(make_link=make_copy)
|
||||
|
||||
elif param == 'gunicorn':
|
||||
generate_gunicorn(make_link=make_copy)
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ project:
|
|||
group: BRANCH_GROUP
|
||||
host: PROJECT_IP
|
||||
name: PROJECT_NAME
|
||||
paths: {home: PROJECT_NAME.prj, root: /home/website}
|
||||
paths: {root: /home/website}
|
||||
sudo: true
|
||||
user: BRANCH_USER
|
||||
rootpath: /var/www
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue