amulet-core 2.0.1a1__tar.gz → 2.0.1a3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of amulet-core might be problematic. Click here for more details.
- {amulet_core-2.0.1a1/src/amulet_core.egg-info → amulet_core-2.0.1a3}/PKG-INFO +2 -2
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/requirements.py +2 -4
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/setup.py +22 -15
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/_version.py +3 -3
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3/src/amulet_core.egg-info}/PKG-INFO +2 -2
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet_core.egg-info/requires.txt +1 -1
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/CMakeLists.txt +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/MANIFEST.in +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/README.md +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/build_requires.py +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/pyproject.toml +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/setup.cfg +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/__init__.py +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/__pyinstaller/__init__.py +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/__pyinstaller/hook-amulet.core.py +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/_amulet_core.py.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/_amulet_core.pyi +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/amulet_coreConfig.cmake +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/biome/__init__.pyi +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/biome/biome.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/biome/biome.hpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/biome/biome.py.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/block/__init__.pyi +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/block/block.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/block/block.hpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/block/block.py.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/block_entity/__init__.pyi +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/block_entity/block_entity.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/block_entity/block_entity.hpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/block_entity/block_entity.py.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/__init__.pyi +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/chunk.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/chunk.hpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/chunk.py.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/__init__.pyi +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/__init_chunk_components.py.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/biome_3d_component.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/biome_3d_component.hpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/block_component.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/block_component.hpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/block_component.py.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/block_component.pyi +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/block_entity_component.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/block_entity_component.hpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/section_array_map.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/section_array_map.hpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/section_array_map.py.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/section_array_map.pyi +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/dll.hpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/entity/__init__.pyi +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/entity/entity.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/entity/entity.hpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/entity/entity.py.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/palette/__init__.pyi +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/palette/__init_palette.py.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/palette/biome_palette.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/palette/biome_palette.hpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/palette/biome_palette.py.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/palette/biome_palette.pyi +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/palette/block_palette.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/palette/block_palette.hpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/palette/block_palette.py.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/palette/block_palette.pyi +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/py.typed +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/selection/__init__.pyi +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/selection/__init_selection.py.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/selection/box.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/selection/box.hpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/selection/box.pyi +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/selection/group.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/selection/group.hpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/selection/group.pyi +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/version/__init__.pyi +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/version/version.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/version/version.hpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/version/version.py.cpp +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet_core.egg-info/SOURCES.txt +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet_core.egg-info/dependency_links.txt +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet_core.egg-info/entry_points.txt +0 -0
- {amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet_core.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: amulet-core
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1a3
|
|
4
4
|
Summary: A Python library for reading/writing Minecraft's various save formats.
|
|
5
5
|
Author: James Clare, Ben Gothard
|
|
6
6
|
Project-URL: Homepage, https://www.amuletmc.com
|
|
@@ -14,7 +14,7 @@ Requires-Dist: amulet-compiler-target==1.0
|
|
|
14
14
|
Requires-Dist: numpy~=2.0
|
|
15
15
|
Requires-Dist: amulet-compiler-version==3.0.0
|
|
16
16
|
Requires-Dist: amulet-io~=1.0
|
|
17
|
-
Requires-Dist: amulet-nbt~=4.0.1.
|
|
17
|
+
Requires-Dist: amulet-nbt~=4.0.1.0a2
|
|
18
18
|
Provides-Extra: docs
|
|
19
19
|
Requires-Dist: Sphinx>=1.7.4; extra == "docs"
|
|
20
20
|
Requires-Dist: sphinx-autodoc-typehints>=1.3.0; extra == "docs"
|
|
@@ -10,7 +10,7 @@ AMULET_PYBIND11_EXTENSIONS_REQUIREMENT = "~=1.0"
|
|
|
10
10
|
|
|
11
11
|
AMULET_IO_REQUIREMENT = "~=1.0"
|
|
12
12
|
# AMULET_NBT_REQUIREMENT = "~=4.0"
|
|
13
|
-
AMULET_NBT_REQUIREMENT = "~=4.0.1.
|
|
13
|
+
AMULET_NBT_REQUIREMENT = "~=4.0.1.0a2"
|
|
14
14
|
NUMPY_REQUIREMENT = "~=2.0"
|
|
15
15
|
|
|
16
16
|
|
|
@@ -22,9 +22,7 @@ def get_specifier_set(version_str: str) -> str:
|
|
|
22
22
|
if version.epoch != 0 or version.is_devrelease or version.is_postrelease:
|
|
23
23
|
raise RuntimeError(f"Unsupported version format. {version_str}")
|
|
24
24
|
|
|
25
|
-
major
|
|
26
|
-
|
|
27
|
-
return f"~={major}.{minor}.{patch}.{fix}{''.join(map(str, version.pre or ()))}"
|
|
25
|
+
return f"~={version.major}.{version.minor}.{version.micro}.0{''.join(map(str, version.pre or ()))}"
|
|
28
26
|
|
|
29
27
|
|
|
30
28
|
if os.environ.get("AMULET_FREEZE_COMPILER", None):
|
|
@@ -3,6 +3,7 @@ import subprocess
|
|
|
3
3
|
import sys
|
|
4
4
|
from pathlib import Path
|
|
5
5
|
import platform
|
|
6
|
+
import datetime
|
|
6
7
|
|
|
7
8
|
from setuptools import setup, Extension, Command
|
|
8
9
|
from setuptools.command.build_ext import build_ext
|
|
@@ -12,7 +13,6 @@ from packaging.version import Version
|
|
|
12
13
|
import versioneer
|
|
13
14
|
|
|
14
15
|
import requirements
|
|
15
|
-
import amulet_compiler_version
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
if (
|
|
@@ -94,20 +94,27 @@ def _get_version() -> str:
|
|
|
94
94
|
version_str: str = versioneer.get_version()
|
|
95
95
|
|
|
96
96
|
if os.environ.get("AMULET_FREEZE_COMPILER", None):
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
f
|
|
110
|
-
|
|
97
|
+
date_format = "%y%m%d%H%M%S"
|
|
98
|
+
try:
|
|
99
|
+
with open("build/timestamp.txt", "r") as f:
|
|
100
|
+
timestamp = datetime.datetime.strptime(f.read(), date_format)
|
|
101
|
+
print("using cached timestamp")
|
|
102
|
+
except Exception:
|
|
103
|
+
timestamp = datetime.datetime(1, 1, 1)
|
|
104
|
+
if datetime.timedelta(minutes=10) < datetime.datetime.now() - timestamp:
|
|
105
|
+
print("get timestamp")
|
|
106
|
+
timestamp = datetime.datetime.now()
|
|
107
|
+
os.makedirs("build", exist_ok=True)
|
|
108
|
+
with open("build/timestamp.txt", "w") as f:
|
|
109
|
+
f.write(timestamp.strftime(date_format))
|
|
110
|
+
|
|
111
|
+
version = Version(version_str)
|
|
112
|
+
epoch = f"{version.epoch}!" if version.epoch else ""
|
|
113
|
+
release = ".".join(map(str, version.release))
|
|
114
|
+
pre = "".join(map(str, version.pre)) if version.is_prerelease else ""
|
|
115
|
+
post = f".post{timestamp.strftime(date_format)}"
|
|
116
|
+
local = f"+{version.local}" if version.local else ""
|
|
117
|
+
version_str = f"{epoch}{release}{pre}{post}{local}"
|
|
111
118
|
|
|
112
119
|
return version_str
|
|
113
120
|
|
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2025-05-
|
|
11
|
+
"date": "2025-05-29T11:10:53+0100",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "2.0.
|
|
14
|
+
"full-revisionid": "42817cff563cf9b72f468fa1dcb677eb84944621",
|
|
15
|
+
"version": "2.0.1a3"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: amulet-core
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1a3
|
|
4
4
|
Summary: A Python library for reading/writing Minecraft's various save formats.
|
|
5
5
|
Author: James Clare, Ben Gothard
|
|
6
6
|
Project-URL: Homepage, https://www.amuletmc.com
|
|
@@ -14,7 +14,7 @@ Requires-Dist: amulet-compiler-target==1.0
|
|
|
14
14
|
Requires-Dist: numpy~=2.0
|
|
15
15
|
Requires-Dist: amulet-compiler-version==3.0.0
|
|
16
16
|
Requires-Dist: amulet-io~=1.0
|
|
17
|
-
Requires-Dist: amulet-nbt~=4.0.1.
|
|
17
|
+
Requires-Dist: amulet-nbt~=4.0.1.0a2
|
|
18
18
|
Provides-Extra: docs
|
|
19
19
|
Requires-Dist: Sphinx>=1.7.4; extra == "docs"
|
|
20
20
|
Requires-Dist: sphinx-autodoc-typehints>=1.3.0; extra == "docs"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/__pyinstaller/hook-amulet.core.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/block_entity/block_entity.py.cpp
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/biome_3d_component.cpp
RENAMED
|
File without changes
|
{amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/biome_3d_component.hpp
RENAMED
|
File without changes
|
{amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/block_component.cpp
RENAMED
|
File without changes
|
{amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/block_component.hpp
RENAMED
|
File without changes
|
{amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/block_component.py.cpp
RENAMED
|
File without changes
|
{amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/block_component.pyi
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/section_array_map.cpp
RENAMED
|
File without changes
|
{amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/section_array_map.hpp
RENAMED
|
File without changes
|
{amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/section_array_map.py.cpp
RENAMED
|
File without changes
|
{amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/chunk/component/section_array_map.pyi
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{amulet_core-2.0.1a1 → amulet_core-2.0.1a3}/src/amulet/core/selection/__init_selection.py.cpp
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|