diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-12-05 15:35:18 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-12-05 15:35:58 -0500 |
commit | 3788cd05eb4a4c30bb659b2be6339edf94a9f8c0 (patch) | |
tree | 7ee3c45454d5cfd69fd1f39f987a2fb6014e9292 /libdimension-python | |
parent | 4d3e396ce91dd70b0c9d7f3b1e991fd8ebd0d582 (diff) | |
download | dimension-3788cd05eb4a4c30bb659b2be6339edf94a9f8c0.tar.xz |
Hide the presence of dimension.wrapper from wrapper types.
Diffstat (limited to 'libdimension-python')
-rw-r--r-- | libdimension-python/Makefile.am | 14 | ||||
-rw-r--r-- | libdimension-python/dimension.pxd (renamed from libdimension-python/wrapper.pxd) | 0 | ||||
-rw-r--r-- | libdimension-python/dimension.pyx (renamed from libdimension-python/wrapper.pyx) | 0 |
3 files changed, 8 insertions, 6 deletions
diff --git a/libdimension-python/Makefile.am b/libdimension-python/Makefile.am index 6e76591..b20169b 100644 --- a/libdimension-python/Makefile.am +++ b/libdimension-python/Makefile.am @@ -25,22 +25,24 @@ INCLUDES = -I$(top_srcdir)/libdimension AM_CFLAGS = $(Python_CFLAGS) AM_LDFLAGS = $(Python_LDFLAGS) -wrapper.c: wrapper.pyx wrapper.pxd +dimension.c: dimension.pyx dimension.pxd if DEBUG - cython --line-directives wrapper.pyx + cython --line-directives dimension.pyx else - cython wrapper.pyx + cython dimension.pyx endif + sed -i 's/initdimension/initwrapper/g' dimension.c + sed -i 's/PyInit_dimension/PyInit_wrapper/g' dimension.c pkgpyexec_LTLIBRARIES = wrapper.la -wrapper_la_SOURCES = wrapper.c \ +wrapper_la_SOURCES = dimension.c \ platform.c \ platform.h wrapper_la_LDFLAGS = -avoid-version -module wrapper_la_LIBADD = $(top_builddir)/libdimension/libdimension.la -EXTRA_DIST = wrapper.pyx \ - wrapper.pxd +EXTRA_DIST = dimension.pyx \ + dimension.pxd doc: mkdir -p doc diff --git a/libdimension-python/wrapper.pxd b/libdimension-python/dimension.pxd index 94966f3..94966f3 100644 --- a/libdimension-python/wrapper.pxd +++ b/libdimension-python/dimension.pxd diff --git a/libdimension-python/wrapper.pyx b/libdimension-python/dimension.pyx index 8e48a5c..8e48a5c 100644 --- a/libdimension-python/wrapper.pyx +++ b/libdimension-python/dimension.pyx |