-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mdbx-cmake: some essential fixes for Python bindings (draft).
- Loading branch information
Showing
9 changed files
with
97 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1257,6 +1257,7 @@ PWOF | |
pwrite | ||
pwritev | ||
pwsh | ||
pybind | ||
pymdownx | ||
pytest | ||
pyw | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/env python3 | ||
#!/usr/bin/env python3 | ||
# Copyright 2021 Noel Kuntze <[email protected]> for Contauro AG | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
|
@@ -12,17 +12,18 @@ | |
import ctypes | ||
import inspect | ||
|
||
import libmdbx | ||
import mdbx4test as libmdbx | ||
|
||
import subprocess | ||
import random | ||
import unittest | ||
|
||
import os | ||
import string | ||
import threading | ||
import time | ||
import tempfile | ||
|
||
MDBX_TEST_DIR="%s/MDBX_TEST" % os.path.dirname(__file__) | ||
MDBX_TEST_DIR="%s/MDBX_TEST" % tempfile.gettempdir() | ||
MDBX_TEST_DB_NAME="MDBX_TEST_DB_NAME" | ||
MDBX_TEST_MAP_NAME="MDBX_TEST_MAP_NAME" | ||
MDBX_TEST_KEY=bytes("MDBX_TEST_KEY", "utf-8") | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
#!/usr/bin/env python | ||
#!/usr/bin/env python3 | ||
|
||
# TODO: like https://github.com/jnwatson/py-lmdb/blob/master/setup.py | ||
|
||
from distutils.core import setup | ||
|
||
|
@@ -8,4 +10,7 @@ setup(name='libmdbx', | |
author='Noel Kuntze', | ||
author_email='[email protected]', | ||
url='https://github.com/Thermi/libmdbx/tree/python-bindings', | ||
license='SPDX-License-Identifier: OLDAP-2.8', | ||
keywords=['key-value', 'nosql', 'database', 'mdbx', 'libmdbx', 'lmdb'], | ||
packages=['libmdbx'], | ||
) |
11eebec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@check-spelling-bot Report
Unrecognized words, please review:
Previously acknowledged words that are now absent
LIBLOCATION preallocTo accept these unrecognized words as correct (and remove the previously acknowledged and now absent words), run the following commands
... in a clone of the [email protected]:erthink/libmdbx.git repository
on the
python-bindings
branch: