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:
James Cammarata
2013-06-24 13:03:33 -04:00
parent f5869134b2
commit cbc9f18366
4 changed files with 35 additions and 12 deletions

View File

@@ -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)