Gather pip requirements at package build time

Previously, requirements were gathered prior to the `sdist` target, and
included in the sdist tarball.  As some requirements are compiled, this caused
problems where the compiled dependencies were linked against the wrong
libraries.  This pull-request addresses that by moving the requirements
gathering into the `dh_prep` and `%build` steps of the packaging process.
This commit is contained in:
James Laska
2015-08-26 11:49:09 -04:00
parent 549809dfa4
commit 32a4a941e0
2 changed files with 21 additions and 15 deletions

View File

@@ -6,9 +6,8 @@ recursive-include awx/ui/templates *.html
recursive-include awx/ui/dist *
recursive-include awx/playbooks *.yml
recursive-include awx/lib/site-packages *
recursive-include requirements *.txt
recursive-include config *
recursive-include config/deb *
recursive-include config/rpm *
recursive-exclude awx devonly.py*
recursive-exclude awx/api/tests *
recursive-exclude awx/main/tests *
@@ -18,5 +17,6 @@ include tools/scripts/ansible-tower-service
include tools/munin_monitors/*
include tools/sosreport/*
include COPYING
include Makefile
prune awx/public
prune awx/projects