Code

python does no get built externally
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 7 Feb 2007 21:30:18 +0000 (21:30 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 7 Feb 2007 21:30:18 +0000 (21:30 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@991 a5681a0c-68f1-0310-ab6d-d61299d08faa

bindings/python/Makefile.am [deleted file]
bindings/python/Setup.in [deleted file]
bindings/python/setup.py

diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am
deleted file mode 100644 (file)
index 8191653..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-AM_CPPFLAGS = @CFLAGS@ -I$(top_srcdir)/src @PYTHON_INCLUDES@
-
-pyexec_PROGRAMS = rrdtoolmodule.so
-
-rrdtoolmodule_so_LDADD = $(top_builddir)/src/librrd.la
-rrdtoolmodule_so_SOURCES = rrdtoolmodule.c
-
-noinst_HEADERS =           rrd_extra.h
-
-clean-local:
-       rm -rf build
-
diff --git a/bindings/python/Setup.in b/bindings/python/Setup.in
deleted file mode 100644 (file)
index 0136d58..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-*shared*
-_rrdtool _rrdtoolmodule.c -lrrd -I/usr/local/include -L/usr/local/lib
index 97ab4769273de6cba55158e50578705bbc39ea7b..7912d9207a33fb69fa8a42a831c80b8b706a9749 100644 (file)
@@ -48,6 +48,7 @@ setup(name = "py-rrdtool",
             "rrdtoolmodule",
             ["rrdtoolmodule.c"],
             libraries=['rrd'],
+            runtime_library_dirs=[library_dir],
             library_dirs=[library_dir],
             include_dirs=[include_dir],
           )