mirror of
https://github.com/ansible/awx.git
synced 2026-04-12 05:29:24 -02:30
Remove settings.py from the debian/rpm packaging
This commit is contained in:
3
setup.py
3
setup.py
@@ -19,10 +19,8 @@ etcpath = "/etc/awx"
|
|||||||
homedir = "/var/lib/awx"
|
homedir = "/var/lib/awx"
|
||||||
if os.path.exists("/etc/debian_version"):
|
if os.path.exists("/etc/debian_version"):
|
||||||
webconfig = "/etc/apache2/conf.d"
|
webconfig = "/etc/apache2/conf.d"
|
||||||
settingsconf = "config/deb/settings.py"
|
|
||||||
else:
|
else:
|
||||||
webconfig = "/etc/httpd/conf.d"
|
webconfig = "/etc/httpd/conf.d"
|
||||||
settingsconf = "config/rpm/settings.py"
|
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
# Helper Functions
|
# Helper Functions
|
||||||
@@ -148,7 +146,6 @@ setup(
|
|||||||
("%s" % homedir, ["config/wsgi.py",
|
("%s" % homedir, ["config/wsgi.py",
|
||||||
"awx/static/favicon.ico",
|
"awx/static/favicon.ico",
|
||||||
]),
|
]),
|
||||||
("%s" % etcpath, [settingsconf,]),
|
|
||||||
("%s" % webconfig, ["config/awx.conf","config/awx-plain.conf"]),
|
("%s" % webconfig, ["config/awx.conf","config/awx-plain.conf"]),
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user