-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from Amulet-Team/cpp
Replace cython with pybind11
- Loading branch information
Showing
22 changed files
with
1,911 additions
and
814 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[submodule "zlib"] | ||
path = zlib | ||
path = submodules/zlib | ||
url = https://github.com/madler/zlib | ||
[submodule "leveldb-mcpe"] | ||
path = leveldb-mcpe | ||
path = submodules/leveldb-mcpe | ||
url = https://github.com/Amulet-Team/leveldb-mcpe |
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,6 +1,4 @@ | ||
recursive-include src/leveldb *.py *.pyi *.pyx *.pxd | ||
recursive-include src/leveldb *.py *.pyi *.hpp *.cpp | ||
recursive-include bin *.lib | ||
recursive-include zlib *.h | ||
recursive-include leveldb-mcpe *.h *.cc | ||
include leveldb_mcpe.pxd | ||
include versioneer.py |
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ author_email = [email protected] | |
classifiers= | ||
Programming Language :: Python :: 3 | ||
Operating System :: OS Independent | ||
description = A Cython wrapper for Mojang's custom LevelDB. | ||
description = A pybind11 wrapper for Mojang's custom LevelDB. | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
platforms = any | ||
|
@@ -16,8 +16,7 @@ platforms = any | |
packages = find_namespace: | ||
package_dir = | ||
= src | ||
zip_safe = False | ||
python_requires = ~=3.8 | ||
python_requires = ~=3.10 | ||
[options.packages.find] | ||
where = src | ||
|
@@ -37,8 +36,10 @@ docs = | |
dev = | ||
black>=22.3 | ||
pre_commit>=1.11.1 | ||
cython ~= 3.0 | ||
mypy | ||
pybind11_stubgen @ git+https://github.com/Amulet-Team/pybind11-stubgen.git@c3a6ef67ec23d5a39e8cdc73b2c3cd8c1794d6f2 | ||
isort | ||
autoflake | ||
# See the docstring in versioneer.py for instructions. Note that you must | ||
|
Oops, something went wrong.