diff --git a/Makefile b/Makefile index 8c0935f0..f385c76b 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/setup.py b/setup.py index 50d787da..496d3d7b 100644 --- a/setup.py +++ b/setup.py @@ -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',