1010AMULET_UTILS_REQUIREMENT = "~=1.1.3.0a0"
1111AMULET_ZLIB_REQUIREMENT = "~=1.0.8.0a0"
1212AMULET_NBT_REQUIREMENT = "~=5.0.2.0a0"
13- AMULET_CORE_REQUIREMENT = "~=2.0.6.0a0"
1413
1514if os .environ .get ("AMULET_PYBIND11_EXTENSIONS_REQUIREMENT" , None ):
1615 AMULET_PYBIND11_EXTENSIONS_REQUIREMENT = f"{ AMULET_PYBIND11_EXTENSIONS_REQUIREMENT } ,{ os .environ ['AMULET_PYBIND11_EXTENSIONS_REQUIREMENT' ]} "
3534 f"{ AMULET_NBT_REQUIREMENT } ,{ os .environ ['AMULET_NBT_REQUIREMENT' ]} "
3635 )
3736
38- if os .environ .get ("AMULET_CORE_REQUIREMENT" , None ):
39- AMULET_CORE_REQUIREMENT = (
40- f"{ AMULET_CORE_REQUIREMENT } ,{ os .environ ['AMULET_CORE_REQUIREMENT' ]} "
41- )
42-
4337
4438def get_specifier_set (version_str : str ) -> str :
4539 """
@@ -92,13 +86,6 @@ def get_specifier_set(version_str: str) -> str:
9286else :
9387 AMULET_NBT_REQUIREMENT = get_specifier_set (amulet .nbt .__version__ )
9488
95- try :
96- import amulet .core
97- except ImportError :
98- pass
99- else :
100- AMULET_CORE_REQUIREMENT = get_specifier_set (amulet .core .__version__ )
101-
10289
10390def get_build_dependencies () -> list :
10491 return [
@@ -109,7 +96,6 @@ def get_build_dependencies() -> list:
10996 f"amulet-utils{ AMULET_UTILS_REQUIREMENT } " ,
11097 f"amulet-zlib{ AMULET_ZLIB_REQUIREMENT } " ,
11198 f"amulet-nbt{ AMULET_NBT_REQUIREMENT } " ,
112- f"amulet-core{ AMULET_CORE_REQUIREMENT } " ,
11399 ] * (not os .environ .get ("AMULET_SKIP_COMPILE" , None ))
114100
115101
@@ -123,5 +109,4 @@ def get_runtime_dependencies() -> list[str]:
123109 f"amulet-utils{ AMULET_UTILS_REQUIREMENT } " ,
124110 f"amulet-zlib{ AMULET_ZLIB_REQUIREMENT } " ,
125111 f"amulet-nbt{ AMULET_NBT_REQUIREMENT } " ,
126- f"amulet-core{ AMULET_CORE_REQUIREMENT } " ,
127112 ]
0 commit comments