[open-science-dev] Pushing Pybossa to Heroku

Traian Fratean traian.fratean at gmail.com
Thu Sep 26 09:48:28 UTC 2013


Hello,


I tried to push Pybossa to heroku as described here:
http://docs.pybossa.com/en/latest/heroku_deploy.html?highlight=heroku

First it was not working as there is no version 0.22.dev for M2Crypto in
PyPI https://pypi.python.org/simple/M2Crypto/. So I changed in
requirements.txt to:

-e git+https://github.com/Hypernode/M2Crypto#egg=M2Crypto-0.22.dev

When pushing to Heroku it fails while running setup.py with this error:



        Running setup.py develop for M2Crypto

           building 'M2Crypto.__m2crypto' extension
           swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c
           swig -python -I/app/.heroku/python/include/python2.7
-I/usr/include -includeall -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
           unable to execute swig: No such file or directory
           error: command 'swig' failed with exit status 1
           Complete output from command /app/.heroku/python/bin/python -c
"import setuptools; __file__='/app/.heroku/src/m2crypto/setup.py';
exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" develop --no-deps:
           running develop

       running egg_info

       writing M2Crypto.egg-info/PKG-INFO

       writing top-level names to M2Crypto.egg-info/top_level.txt

       writing dependency_links to M2Crypto.egg-info/dependency_links.txt

       warning: manifest_maker: standard file '-c' not found



       reading manifest file 'M2Crypto.egg-info/SOURCES.txt'

       writing manifest file 'M2Crypto.egg-info/SOURCES.txt'

       running build_ext

       building 'M2Crypto.__m2crypto' extension

       swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c

       swig -python -I/app/.heroku/python/include/python2.7 -I/usr/include
-includeall -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i

       unable to execute swig: No such file or directory

       error: command 'swig' failed with exit status 1

       ----------------------------------------
       Command /app/.heroku/python/bin/python -c "import setuptools;
__file__='/app/.heroku/src/m2crypto/setup.py';
exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" develop --no-deps failed with error code 1 in
/app/.heroku/src/m2crypto
       Storing complete log in /app/.pip/pip.log

 !     Push rejected, failed to compile Python app
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/open-science-dev/attachments/20130926/c9a86da6/attachment.html>


More information about the open-science-dev mailing list