Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
pythran conda recipe
#!/bin/bash
sed -i -e 's,CC=,CC=/opt/anaconda1anaconda2anaconda3/bin/gcc-4.9,' -e 's,CXX=,CXX=/opt/anaconda1anaconda2anaconda3/bin/g++-4.9,' -e 's,library_dirs=,library_dirs=/opt/anaconda1anaconda2anaconda3/lib ,' -e 's,include_dirs=,include_dirs=/opt/anaconda1anaconda2anaconda3/include ,' -e 's|ldflags=|ldflags=-Wl,-rpath /opt/anaconda1anaconda2anaconda3/lib64 |' pythran/pythran-linux2.cfg
sed -i -e 's,CC=,CC=/opt/anaconda1anaconda2anaconda3/bin/gcc-4.9,' -e 's,CXX=,CXX=/opt/anaconda1anaconda2anaconda3/bin/g++-4.9,' -e 's,library_dirs=,library_dirs=/opt/anaconda1anaconda2anaconda3/lib ,' -e 's,include_dirs=,include_dirs=/opt/anaconda1anaconda2anaconda3/include ,' -e 's|ldflags=|ldflags=-Wl,-rpath /opt/anaconda1anaconda2anaconda3/lib64 |' pythran/pythran-linux.cfg
$PYTHON setup.py install
lib/python2.7/pythran/pythran-linux2.cfg
package:
name: pythran
version: "0.8.3"
source:
fn: pythran-0.8.3.tar.gz
url: https://pypi.python.org/packages/09/8d/cdcf40e6102fe53e564983887d000ccac7b692a4fd505888e873bd687f47/pythran-0.8.3.tar.gz
md5: d368facafb53d11324fdefa186583de1
build:
# noarch_python: True
# preserve_egg_dir: True
entry_points:
- pythran = pythran.run:run
- pythran-config = pythran.config:run
number: 2
requirements:
build:
- python
- setuptools
- ply >=3.4
- networkx >=2
- decorator
- gast
- six
- numpy
- gcc_49
- pytest-runner
run:
- python
- ply >=3.4
- networkx >=2
- decorator
- gast
- six
- numpy
- gmpxx
- gcc_49
about:
home: http://pythonhosted.org/pythran/
license: BSD License
summary: 'a claimless python to c++ converter'
license_family: BSD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment