mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
More debian packaging stuff
* Added ability to do official vs dev builds (need to add to the RPM builds now) * Reverted changes to awx/wsgi.py after talking with Chris C. regarding the pathing issues and created config/wsgi.py instead that is installed to /var/lib/awx * Cleaned up package scripts so there's less junk being written to the screen during the install/uninstall
This commit is contained in:
@@ -19,7 +19,7 @@ from distutils.sysconfig import get_python_lib
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'awx.settings.%s' % MODE)
|
||||
|
||||
# Add local site-packages directory to path.
|
||||
local_site_packages = os.path.join(get_python_lib(), 'awx', 'lib',
|
||||
local_site_packages = os.path.join(os.path.dirname(__file__), 'lib',
|
||||
'site-packages')
|
||||
sys.path.insert(0, local_site_packages)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user