Skip to content

Commit 7928aec

Browse files
committed
Rename wrapper.pyx to libzim.pyx.
This is "the" name of the python module created. Let's call it correctly. Let's use "wrapper" for the internal library wrapping the C++ code.
1 parent aeb6f39 commit 7928aec

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

libzim/libwrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include <Python.h>
2424
#include "libwrapper.h"
2525

26-
#include "wrapper_api.h"
26+
#include "libzim_api.h"
2727

2828
#include <cstdlib>
2929
#include <iostream>
File renamed without changes.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def get_long_description():
8888

8989
wrapper_extension = Extension(
9090
name="libzim",
91-
sources=["libzim/wrapper.pyx", "libzim/libwrapper.cpp"],
91+
sources=["libzim/libzim.pyx", "libzim/libwrapper.cpp"],
9292
include_dirs=["libzim", LIBZIM_INCLUDE_DIR],
9393
libraries=["zim"],
9494
library_dirs=[LIBZIM_LIBRARY_DIR],

0 commit comments

Comments
 (0)