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

@@ -8,7 +8,8 @@ from setuptools import setup, find_packages
from awx import __version__
build_timestamp = datetime.datetime.now().strftime('%Y%m%d%H%M')
#build_timestamp = datetime.datetime.now().strftime('%Y%m%d%H%M')
build_timestamp = os.getenv("BUILD",datetime.datetime.now().strftime('-%Y%m%d%H%M'))
# Paths we'll use later
etcpath = "/etc/awx"
@@ -99,7 +100,7 @@ setup(
],
},
data_files = proc_data_files([
("%s" % homedir, ["awx/wsgi.py",
("%s" % homedir, ["config/wsgi.py",
"awx/static/favicon.ico",
]),
("%s" % etcpath, [settingsconf,]),
@@ -108,7 +109,7 @@ setup(
),
options={
'egg_info': {
'tag_build': '-dev%s' % build_timestamp,
'tag_build': '%s' % build_timestamp,
},
'aliases': {
'dev_build': 'clean --all egg_info sdist',