Build C modules inplace
This commit is contained in:
parent
fa0939622b
commit
4ccf3421ed
2 changed files with 2 additions and 3 deletions
3
Makefile
3
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
|
||||
|
|
2
setup.py
2
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',
|
||||
|
|
Loading…
Reference in a new issue