Build C modules inplace

This commit is contained in:
Florent Le Coz 2011-09-11 20:10:37 +02:00
parent fa0939622b
commit 4ccf3421ed
2 changed files with 2 additions and 3 deletions

View file

@ -6,8 +6,7 @@ LOCALEDIR=$(DATADIR)/locale
MANDIR=$(DATADIR)/man
all: Makefile
python3 setup.py build
cp build/lib.linux-x86_64-3.2/poopt.cpython-32mu.so src/
cd src/ && python3 ../setup.py build_ext --inplace
clean:
find ./ -name \*.pyc -delete

View file

@ -1,7 +1,7 @@
from distutils.core import setup, Extension
module_poopt = Extension('poopt',
sources = ['src/pooptmodule.c'])
sources = ['pooptmodule.c'])
setup (name = 'BuildLines',
version = '0.0.1',