diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2014-10-08 15:51:05 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-01-22 12:46:17 +0000 |
commit | 0b9867cad1f46f0bb49a7cc08877fb8c5e38d0f5 (patch) | |
tree | 54e2caa4b70626f3c631940718622bfe2ac04a6b /strata/openstack-services | |
parent | 179aaef3a61d5a7db7dbec40d67c882b1819ca2e (diff) | |
download | definitions-0b9867cad1f46f0bb49a7cc08877fb8c5e38d0f5.tar.gz |
Add cryptography chunk
This chunk needs to copy cffi into the build folder in order
to compile, if this is not done an error like the following
appears:
error: Error: setup script specifies an absolute path:
/usr/lib/python2.7/site-packages/cffi/__pycache__/_Cryptography_cffi_4ed9e37dx4000d087.c
setup() arguments must *always* be /-separated paths relative to the
setup.py directory, *never* absolute paths.
Diffstat (limited to 'strata/openstack-services')
-rw-r--r-- | strata/openstack-services/cryptography.morph | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/strata/openstack-services/cryptography.morph b/strata/openstack-services/cryptography.morph new file mode 100644 index 00000000..789d0077 --- /dev/null +++ b/strata/openstack-services/cryptography.morph @@ -0,0 +1,8 @@ +name: cryptography +kind: chunk +configure-commands: +- cp -r /usr/lib/python2.7/site-packages/cffi . +build-commands: +- python setup.py build +install-commands: +- python setup.py install --prefix "$PREFIX" --root "$DESTDIR" |