Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ jobs:
- name: Build SDist
run: |
sudo apt update && sudo apt install ninja-build git build-essential -y
cd libmdbx && make V=1 && cd ..
cd libmdbx && make V=1 dist && cd ..
python3 -m pip install -U pip build
python3 -m build --sdist

Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "libmdbx"]
path = libmdbx
url = https://gitflic.ru/project/erthink/libmdbx.git
url = https://github.com/Mithril-mine/libmdbx-devel.git
2 changes: 1 addition & 1 deletion build_mdbx.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def build(setup_kws: dict):
# If there is already dist
if not dist_folder.exists():
if sys.platform in ["linux", "linux2"]:
subprocess.check_call(["make"], cwd=libmdbx_source)
subprocess.check_call(["make", "dist"], cwd=libmdbx_source)

if have_git() and (libmdbx_source / ".git").exists():
source_folder = libmdbx_source
Expand Down
2 changes: 1 addition & 1 deletion libmdbx
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ packages = [
{include = "mdbx"}
]
include = [
{ path = "libmdbx/*", format = "sdist"},
{ path = "libmdbx/dist/*", format = "sdist"},
{ path = "mdbx/lib/*", format = "wheel" },
]

exclude = [
{ path = "libmdbx/dist/build", format = "sdist"},
]

[tool.poetry.build]
generate-setup-file = false
script = "build_mdbx.py"
Expand Down
Loading