No Python pode-se gerar Código C e CPP (C++).
Para isto é necessário alguns módulos extras no Python para que a engine python possa identificar os comando C e C++.
https://parijatmishra.wordpress.com/2008/10/08/python-packaging-setuptools-and-eggs/
icu-devtools libboost-all-dev libboost-atomic-dev libboost-atomic1.54-dev libboost-atomic1.54.0 libboost-chrono-dev libboost-chrono1.54-dev libboost-chrono1.54.0 libboost-context-dev libboost-context1.54-dev libboost-context1.54.0 libboost-coroutine-dev libboost-coroutine1.54-dev libboost-date-time-dev libboost-date-time1.54-dev libboost-dev libboost-exception-dev libboost-exception1.54-dev libboost-filesystem-dev libboost-filesystem1.54-dev libboost-filesystem1.54.0 libboost-graph-dev libboost-graph-parallel-dev libboost-graph-parallel1.54-dev libboost-graph-parallel1.54.0 libboost-graph1.54-dev libboost-graph1.54.0 libboost-iostreams-dev libboost-iostreams1.54-dev libboost-locale-dev libboost-locale1.54-dev libboost-locale1.54.0 libboost-log-dev libboost-log1.54-dev libboost-log1.54.0 libboost-math-dev libboost-math1.54-dev libboost-math1.54.0 libboost-mpi-dev libboost-mpi-python-dev libboost-mpi-python1.54-dev libboost-mpi-python1.54.0 libboost-mpi1.54-dev libboost-mpi1.54.0 libboost-program-options-dev libboost-program-options1.54-dev libboost-program-options1.54.0 libboost-python-dev libboost-python1.54-dev libboost-python1.54.0 libboost-random-dev libboost-random1.54-dev libboost-random1.54.0 libboost-regex-dev libboost-regex1.54-dev libboost-regex1.54.0 libboost-serialization-dev libboost-serialization1.54-dev libboost-serialization1.54.0 libboost-signals-dev libboost-signals1.54-dev libboost-signals1.54.0 libboost-system-dev libboost-system1.54-dev libboost-test-dev libboost-test1.54-dev libboost-test1.54.0 libboost-thread-dev libboost-thread1.54-dev libboost-thread1.54.0 libboost-timer-dev libboost-timer1.54-dev libboost-timer1.54.0 libboost-tools-dev libboost-wave-dev libboost-wave1.54-dev libboost-wave1.54.0 libboost1.54-dev libboost1.54-tools-dev libcr0 libexpat1-dev libhwloc-dev libhwloc5 libibverbs-dev libibverbs1 libicu-dev libopenmpi-dev libopenmpi1.6 libpci-dev libpython-dev libpython2.7-dev libtorque2 libxml2-dev mpi-default-bin mpi-default-dev openmpi-bin openmpi-common
Procedimentos
Para trabalhar com C, o python utiliza o interpretador 'pyrex', que é instalado via easy_install, o estas bibliotecas podem ser instaladas diretamente pelo repositório da distro, no caso Debian-like.C
(virtualenv) $ easy_install pyrex
CPP
$ aptitude install libboost-all-dev
Referências
http://www.boost.org/doc/libs/1_58_0/boost/python.hpphttps://parijatmishra.wordpress.com/2008/10/08/python-packaging-setuptools-and-eggs/
Comentários