Skip to content

Commit

Permalink
Correction to way of installing deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Murray authored and amercader committed Oct 19, 2012
1 parent 53e3d1e commit 103de0c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions build.sh
Expand Up @@ -43,10 +43,11 @@ mkdir -p ${CKAN_PATH}/dist/buildkit
echo "done."

# In lieu of a requires directory, copy the pip-requirements into
# requires/lucid_missing. This ensures that all requirements
# are installed as src.
# requires/lucid_conflict. This ensures that the required packages
# are installed in a way so as not to clobber any existing
# system-wide dependencies.
mkdir "${CKAN_PATH}/requires"
cp "${CKAN_PATH}/pip-requirements.txt" "${CKAN_PATH}/requires/lucid_missing.txt"
cp "${CKAN_PATH}/pip-requirements.txt" "${CKAN_PATH}/requires/lucid_conflict.txt"

echo "Building the packages ..."
# Create the python-ckan debian package
Expand All @@ -64,6 +65,12 @@ buildkit pkg python -p $CKAN_PACKAGE_VERSION \
--exclude=test/generate_package \
--conflict-module "sqlalchemy-migrate -> migrate" \
--conflict-module "sqlalchemy -> lib/sqlalchemy" \
--conflict-module "pyutilib.component.core -> pyutilib" \
--conflict-module "solrpy -> solr" \
--conflict-module "zope.interface -> src/zope" \
--conflict-module "repoze.who -> repoze" \
--conflict-module "repoze.who-friendlyform -> repoze" \
--conflict-module "repoze.who.plugins.openid -> repoze" \
--debian-dir \
--url http://ckan.org \
${CKAN_PATH}
Expand Down

0 comments on commit 103de0c

Please sign in to comment.