diff --git a/common/Makefile b/common/Makefile new file mode 100644 index 000000000..5a3d9fef2 --- /dev/null +++ b/common/Makefile @@ -0,0 +1,6 @@ +all: + python setup.py build_ext -i + +clean: + rm -f *.so + rm -rf build diff --git a/setup.py b/common/setup.py similarity index 94% rename from setup.py rename to common/setup.py index fa447858f..d3dc6ff9c 100644 --- a/setup.py +++ b/common/setup.py @@ -1,7 +1,7 @@ from distutils.core import setup, Extension module1 = Extension( 'idle', - sources = ['common/idle.c'], + sources = ['idle.c'], # extra_compile_args = ['-W'], libraries = ['gtk-x11-2.0','gdk-x11-2.0','glib-2.0','X11','Xext','Xss','atk-1.0'], library_dirs = ['/usr/X11R6/lib'],