Created
November 2, 2015 19:11
-
-
Save snaury/ea167713b1804ffbaf5a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <greenlet/greenlet.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from distutils.core import setup | |
from distutils.extension import Extension | |
setup( | |
name='foobar', | |
ext_modules=[Extension('foobar', sources=['foobar.c'])], | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
(cd $HOME/src/Python-3.5.0 && ./configure --prefix=/tmp/python-3.5.0 && make && make install) | |
/tmp/python-3.5.0/bin/pyvenv /tmp/myenv | |
/tmp/myenv/bin/pip install greenlet | |
/tmp/myenv/bin/python3 setup.py build_ext -i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment