Skip to content
This repository was archived by the owner on Oct 14, 2024. It is now read-only.

Commit 3f669a9

Browse files
committed
Improve stability of C++ module build
1 parent a192006 commit 3f669a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cpp/EU4cpplib.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ py::bytes pyDrawMap(const std::map<std::string, std::tuple<uint8_t, uint8_t, uin
513513
return drawMap(tagColors, provinceOwners, mod);
514514
}
515515

516-
PYBIND11_MODULE(EU4cpplib, m) {
516+
PYBIND11_MODULE(_cpplib, m) {
517517
m.doc() = "Libraries for eu4img written in C++ to improve speed and resource-consumption.";
518518

519519
py::class_<EU4Date>(m, "EU4Date")

cpp/wrapper/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
from _cpplib import *
1+
from EU4cpplib._cpplib import *

0 commit comments

Comments
 (0)