diff --git a/.gitattributes b/.gitattributes index df1b2034f..cdb899650 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1 @@ -amulet/_version.py export-subst +src/amulet/_version.py export-subst diff --git a/MANIFEST.in b/MANIFEST.in index c49ae59a7..5cbc505c8 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1 @@ -recursive-include amulet *.py *.pyi *.pyx *.pxd *.jpg *.png +recursive-include src *.py *.pyi *.pyx *.pxd *.jpg *.png diff --git a/setup.cfg b/setup.cfg index 04da49daa..6bbb5b2f9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,6 +13,9 @@ platforms = any [options] +package_dir= + =src +packages = find_namespace: include_package_data = True python_requires = >=3.11 install_requires = @@ -25,10 +28,8 @@ install_requires = pillow~=10.0 lz4~=4.3 -packages = find: - [options.packages.find] -include = amulet* +where=src [options.extras_require] @@ -55,7 +56,7 @@ pyinstaller40 = [versioneer] VCS = git style = pep440 -versionfile_source = amulet/_version.py +versionfile_source = src/amulet/_version.py versionfile_build = amulet/_version.py tag_prefix = parentdir_prefix = amulet- diff --git a/amulet/__init__.py b/src/amulet/__init__.py similarity index 100% rename from amulet/__init__.py rename to src/amulet/__init__.py diff --git a/amulet/__pyinstaller/__init__.py b/src/amulet/__pyinstaller/__init__.py similarity index 100% rename from amulet/__pyinstaller/__init__.py rename to src/amulet/__pyinstaller/__init__.py diff --git a/amulet/__pyinstaller/hook-amulet.py b/src/amulet/__pyinstaller/hook-amulet.py similarity index 100% rename from amulet/__pyinstaller/hook-amulet.py rename to src/amulet/__pyinstaller/hook-amulet.py diff --git a/amulet/_version.py b/src/amulet/_version.py similarity index 99% rename from amulet/_version.py rename to src/amulet/_version.py index bc0da9421..dd61c460c 100644 --- a/amulet/_version.py +++ b/src/amulet/_version.py @@ -43,7 +43,7 @@ def get_config(): cfg.style = "pep440" cfg.tag_prefix = "" cfg.parentdir_prefix = "amulet-" - cfg.versionfile_source = "amulet/_version.py" + cfg.versionfile_source = "src/amulet/_version.py" cfg.verbose = False return cfg diff --git a/amulet/biome.py b/src/amulet/biome.py similarity index 100% rename from amulet/biome.py rename to src/amulet/biome.py diff --git a/amulet/block.py b/src/amulet/block.py similarity index 100% rename from amulet/block.py rename to src/amulet/block.py diff --git a/amulet/block_entity.py b/src/amulet/block_entity.py similarity index 100% rename from amulet/block_entity.py rename to src/amulet/block_entity.py diff --git a/amulet/chunk/__init__.py b/src/amulet/chunk/__init__.py similarity index 100% rename from amulet/chunk/__init__.py rename to src/amulet/chunk/__init__.py diff --git a/amulet/chunk/_chunk.py b/src/amulet/chunk/_chunk.py similarity index 100% rename from amulet/chunk/_chunk.py rename to src/amulet/chunk/_chunk.py diff --git a/amulet/chunk/components/__init__.py b/src/amulet/chunk/components/__init__.py similarity index 100% rename from amulet/chunk/components/__init__.py rename to src/amulet/chunk/components/__init__.py diff --git a/amulet/chunk/components/abc.py b/src/amulet/chunk/components/abc.py similarity index 100% rename from amulet/chunk/components/abc.py rename to src/amulet/chunk/components/abc.py diff --git a/amulet/chunk/components/biome.py b/src/amulet/chunk/components/biome.py similarity index 100% rename from amulet/chunk/components/biome.py rename to src/amulet/chunk/components/biome.py diff --git a/amulet/chunk/components/block.py b/src/amulet/chunk/components/block.py similarity index 100% rename from amulet/chunk/components/block.py rename to src/amulet/chunk/components/block.py diff --git a/amulet/chunk/components/block_entity.py b/src/amulet/chunk/components/block_entity.py similarity index 100% rename from amulet/chunk/components/block_entity.py rename to src/amulet/chunk/components/block_entity.py diff --git a/amulet/chunk/components/entity.py b/src/amulet/chunk/components/entity.py similarity index 100% rename from amulet/chunk/components/entity.py rename to src/amulet/chunk/components/entity.py diff --git a/amulet/chunk/components/height_2d.py b/src/amulet/chunk/components/height_2d.py similarity index 100% rename from amulet/chunk/components/height_2d.py rename to src/amulet/chunk/components/height_2d.py diff --git a/amulet/chunk/components/sub_chunk_array.py b/src/amulet/chunk/components/sub_chunk_array.py similarity index 100% rename from amulet/chunk/components/sub_chunk_array.py rename to src/amulet/chunk/components/sub_chunk_array.py diff --git a/amulet/data_types.py b/src/amulet/data_types.py similarity index 100% rename from amulet/data_types.py rename to src/amulet/data_types.py diff --git a/amulet/entity.py b/src/amulet/entity.py similarity index 100% rename from amulet/entity.py rename to src/amulet/entity.py diff --git a/amulet/errors.py b/src/amulet/errors.py similarity index 100% rename from amulet/errors.py rename to src/amulet/errors.py diff --git a/amulet/game/.gitignore b/src/amulet/game/.gitignore similarity index 100% rename from amulet/game/.gitignore rename to src/amulet/game/.gitignore diff --git a/amulet/game/__init__.py b/src/amulet/game/__init__.py similarity index 100% rename from amulet/game/__init__.py rename to src/amulet/game/__init__.py diff --git a/amulet/game/_game.py b/src/amulet/game/_game.py similarity index 100% rename from amulet/game/_game.py rename to src/amulet/game/_game.py diff --git a/amulet/game/_universal/__init__.py b/src/amulet/game/_universal/__init__.py similarity index 100% rename from amulet/game/_universal/__init__.py rename to src/amulet/game/_universal/__init__.py diff --git a/amulet/game/_universal/_biome.py b/src/amulet/game/_universal/_biome.py similarity index 100% rename from amulet/game/_universal/_biome.py rename to src/amulet/game/_universal/_biome.py diff --git a/amulet/game/_universal/_block.py b/src/amulet/game/_universal/_block.py similarity index 100% rename from amulet/game/_universal/_block.py rename to src/amulet/game/_universal/_block.py diff --git a/amulet/game/_universal/_version.py b/src/amulet/game/_universal/_version.py similarity index 100% rename from amulet/game/_universal/_version.py rename to src/amulet/game/_universal/_version.py diff --git a/amulet/game/abc/__init__.py b/src/amulet/game/abc/__init__.py similarity index 100% rename from amulet/game/abc/__init__.py rename to src/amulet/game/abc/__init__.py diff --git a/amulet/game/abc/_block_specification.py b/src/amulet/game/abc/_block_specification.py similarity index 100% rename from amulet/game/abc/_block_specification.py rename to src/amulet/game/abc/_block_specification.py diff --git a/amulet/game/abc/biome.py b/src/amulet/game/abc/biome.py similarity index 100% rename from amulet/game/abc/biome.py rename to src/amulet/game/abc/biome.py diff --git a/amulet/game/abc/block.py b/src/amulet/game/abc/block.py similarity index 100% rename from amulet/game/abc/block.py rename to src/amulet/game/abc/block.py diff --git a/amulet/game/abc/game_version_container.py b/src/amulet/game/abc/game_version_container.py similarity index 100% rename from amulet/game/abc/game_version_container.py rename to src/amulet/game/abc/game_version_container.py diff --git a/amulet/game/abc/json_interface.py b/src/amulet/game/abc/json_interface.py similarity index 100% rename from amulet/game/abc/json_interface.py rename to src/amulet/game/abc/json_interface.py diff --git a/amulet/game/abc/version.py b/src/amulet/game/abc/version.py similarity index 100% rename from amulet/game/abc/version.py rename to src/amulet/game/abc/version.py diff --git a/amulet/game/bedrock/__init__.py b/src/amulet/game/bedrock/__init__.py similarity index 100% rename from amulet/game/bedrock/__init__.py rename to src/amulet/game/bedrock/__init__.py diff --git a/amulet/game/bedrock/_biome.py b/src/amulet/game/bedrock/_biome.py similarity index 100% rename from amulet/game/bedrock/_biome.py rename to src/amulet/game/bedrock/_biome.py diff --git a/amulet/game/bedrock/_block.py b/src/amulet/game/bedrock/_block.py similarity index 100% rename from amulet/game/bedrock/_block.py rename to src/amulet/game/bedrock/_block.py diff --git a/amulet/game/bedrock/_version.py b/src/amulet/game/bedrock/_version.py similarity index 100% rename from amulet/game/bedrock/_version.py rename to src/amulet/game/bedrock/_version.py diff --git a/amulet/game/java/__init__.py b/src/amulet/game/java/__init__.py similarity index 100% rename from amulet/game/java/__init__.py rename to src/amulet/game/java/__init__.py diff --git a/amulet/game/java/_biome.py b/src/amulet/game/java/_biome.py similarity index 100% rename from amulet/game/java/_biome.py rename to src/amulet/game/java/_biome.py diff --git a/amulet/game/java/_block.py b/src/amulet/game/java/_block.py similarity index 100% rename from amulet/game/java/_block.py rename to src/amulet/game/java/_block.py diff --git a/amulet/game/java/_version.py b/src/amulet/game/java/_version.py similarity index 100% rename from amulet/game/java/_version.py rename to src/amulet/game/java/_version.py diff --git a/amulet/game/translate/__init__.py b/src/amulet/game/translate/__init__.py similarity index 100% rename from amulet/game/translate/__init__.py rename to src/amulet/game/translate/__init__.py diff --git a/amulet/game/translate/_functions/__init__.py b/src/amulet/game/translate/_functions/__init__.py similarity index 100% rename from amulet/game/translate/_functions/__init__.py rename to src/amulet/game/translate/_functions/__init__.py diff --git a/amulet/game/translate/_functions/_code_functions/__init__.py b/src/amulet/game/translate/_functions/_code_functions/__init__.py similarity index 100% rename from amulet/game/translate/_functions/_code_functions/__init__.py rename to src/amulet/game/translate/_functions/_code_functions/__init__.py diff --git a/amulet/game/translate/_functions/_code_functions/_text.py b/src/amulet/game/translate/_functions/_code_functions/_text.py similarity index 100% rename from amulet/game/translate/_functions/_code_functions/_text.py rename to src/amulet/game/translate/_functions/_code_functions/_text.py diff --git a/amulet/game/translate/_functions/_code_functions/banner_pattern.py b/src/amulet/game/translate/_functions/_code_functions/banner_pattern.py similarity index 100% rename from amulet/game/translate/_functions/_code_functions/banner_pattern.py rename to src/amulet/game/translate/_functions/_code_functions/banner_pattern.py diff --git a/amulet/game/translate/_functions/_code_functions/bedrock_chest_connection.py b/src/amulet/game/translate/_functions/_code_functions/bedrock_chest_connection.py similarity index 100% rename from amulet/game/translate/_functions/_code_functions/bedrock_chest_connection.py rename to src/amulet/game/translate/_functions/_code_functions/bedrock_chest_connection.py diff --git a/amulet/game/translate/_functions/_code_functions/bedrock_moving_block_pos.py b/src/amulet/game/translate/_functions/_code_functions/bedrock_moving_block_pos.py similarity index 100% rename from amulet/game/translate/_functions/_code_functions/bedrock_moving_block_pos.py rename to src/amulet/game/translate/_functions/_code_functions/bedrock_moving_block_pos.py diff --git a/amulet/game/translate/_functions/_code_functions/bedrock_sign.py b/src/amulet/game/translate/_functions/_code_functions/bedrock_sign.py similarity index 100% rename from amulet/game/translate/_functions/_code_functions/bedrock_sign.py rename to src/amulet/game/translate/_functions/_code_functions/bedrock_sign.py diff --git a/amulet/game/translate/_functions/_code_functions/bedrock_skull_rotation.py b/src/amulet/game/translate/_functions/_code_functions/bedrock_skull_rotation.py similarity index 100% rename from amulet/game/translate/_functions/_code_functions/bedrock_skull_rotation.py rename to src/amulet/game/translate/_functions/_code_functions/bedrock_skull_rotation.py diff --git a/amulet/game/translate/_functions/_code_functions/custom_name.py b/src/amulet/game/translate/_functions/_code_functions/custom_name.py similarity index 100% rename from amulet/game/translate/_functions/_code_functions/custom_name.py rename to src/amulet/game/translate/_functions/_code_functions/custom_name.py diff --git a/amulet/game/translate/_functions/_frozen.py b/src/amulet/game/translate/_functions/_frozen.py similarity index 100% rename from amulet/game/translate/_functions/_frozen.py rename to src/amulet/game/translate/_functions/_frozen.py diff --git a/amulet/game/translate/_functions/_state.py b/src/amulet/game/translate/_functions/_state.py similarity index 100% rename from amulet/game/translate/_functions/_state.py rename to src/amulet/game/translate/_functions/_state.py diff --git a/amulet/game/translate/_functions/_typing.py b/src/amulet/game/translate/_functions/_typing.py similarity index 100% rename from amulet/game/translate/_functions/_typing.py rename to src/amulet/game/translate/_functions/_typing.py diff --git a/amulet/game/translate/_functions/abc.py b/src/amulet/game/translate/_functions/abc.py similarity index 100% rename from amulet/game/translate/_functions/abc.py rename to src/amulet/game/translate/_functions/abc.py diff --git a/amulet/game/translate/_functions/carry_nbt.py b/src/amulet/game/translate/_functions/carry_nbt.py similarity index 100% rename from amulet/game/translate/_functions/carry_nbt.py rename to src/amulet/game/translate/_functions/carry_nbt.py diff --git a/amulet/game/translate/_functions/carry_properties.py b/src/amulet/game/translate/_functions/carry_properties.py similarity index 100% rename from amulet/game/translate/_functions/carry_properties.py rename to src/amulet/game/translate/_functions/carry_properties.py diff --git a/amulet/game/translate/_functions/code.py b/src/amulet/game/translate/_functions/code.py similarity index 100% rename from amulet/game/translate/_functions/code.py rename to src/amulet/game/translate/_functions/code.py diff --git a/amulet/game/translate/_functions/map_block_name.py b/src/amulet/game/translate/_functions/map_block_name.py similarity index 100% rename from amulet/game/translate/_functions/map_block_name.py rename to src/amulet/game/translate/_functions/map_block_name.py diff --git a/amulet/game/translate/_functions/map_nbt.py b/src/amulet/game/translate/_functions/map_nbt.py similarity index 100% rename from amulet/game/translate/_functions/map_nbt.py rename to src/amulet/game/translate/_functions/map_nbt.py diff --git a/amulet/game/translate/_functions/map_properties.py b/src/amulet/game/translate/_functions/map_properties.py similarity index 100% rename from amulet/game/translate/_functions/map_properties.py rename to src/amulet/game/translate/_functions/map_properties.py diff --git a/amulet/game/translate/_functions/multiblock.py b/src/amulet/game/translate/_functions/multiblock.py similarity index 100% rename from amulet/game/translate/_functions/multiblock.py rename to src/amulet/game/translate/_functions/multiblock.py diff --git a/amulet/game/translate/_functions/new_block.py b/src/amulet/game/translate/_functions/new_block.py similarity index 100% rename from amulet/game/translate/_functions/new_block.py rename to src/amulet/game/translate/_functions/new_block.py diff --git a/amulet/game/translate/_functions/new_entity.py b/src/amulet/game/translate/_functions/new_entity.py similarity index 100% rename from amulet/game/translate/_functions/new_entity.py rename to src/amulet/game/translate/_functions/new_entity.py diff --git a/amulet/game/translate/_functions/new_nbt.py b/src/amulet/game/translate/_functions/new_nbt.py similarity index 100% rename from amulet/game/translate/_functions/new_nbt.py rename to src/amulet/game/translate/_functions/new_nbt.py diff --git a/amulet/game/translate/_functions/new_properties.py b/src/amulet/game/translate/_functions/new_properties.py similarity index 100% rename from amulet/game/translate/_functions/new_properties.py rename to src/amulet/game/translate/_functions/new_properties.py diff --git a/amulet/game/translate/_functions/sequence.py b/src/amulet/game/translate/_functions/sequence.py similarity index 100% rename from amulet/game/translate/_functions/sequence.py rename to src/amulet/game/translate/_functions/sequence.py diff --git a/amulet/game/translate/_functions/walk_input_nbt.py b/src/amulet/game/translate/_functions/walk_input_nbt.py similarity index 100% rename from amulet/game/translate/_functions/walk_input_nbt.py rename to src/amulet/game/translate/_functions/walk_input_nbt.py diff --git a/amulet/game/translate/_translator.py b/src/amulet/game/translate/_translator.py similarity index 100% rename from amulet/game/translate/_translator.py rename to src/amulet/game/translate/_translator.py diff --git a/amulet/img/missing_world_icon.png b/src/amulet/img/missing_world_icon.png similarity index 100% rename from amulet/img/missing_world_icon.png rename to src/amulet/img/missing_world_icon.png diff --git a/amulet/item.py b/src/amulet/item.py similarity index 100% rename from amulet/item.py rename to src/amulet/item.py diff --git a/amulet/level/__init__.py b/src/amulet/level/__init__.py similarity index 100% rename from amulet/level/__init__.py rename to src/amulet/level/__init__.py diff --git a/amulet/level/_load.py b/src/amulet/level/_load.py similarity index 100% rename from amulet/level/_load.py rename to src/amulet/level/_load.py diff --git a/amulet/level/abc/__init__.py b/src/amulet/level/abc/__init__.py similarity index 100% rename from amulet/level/abc/__init__.py rename to src/amulet/level/abc/__init__.py diff --git a/amulet/level/abc/_chunk_handle.py b/src/amulet/level/abc/_chunk_handle.py similarity index 100% rename from amulet/level/abc/_chunk_handle.py rename to src/amulet/level/abc/_chunk_handle.py diff --git a/amulet/level/abc/_dimension.py b/src/amulet/level/abc/_dimension.py similarity index 100% rename from amulet/level/abc/_dimension.py rename to src/amulet/level/abc/_dimension.py diff --git a/amulet/level/abc/_history/__init__.py b/src/amulet/level/abc/_history/__init__.py similarity index 100% rename from amulet/level/abc/_history/__init__.py rename to src/amulet/level/abc/_history/__init__.py diff --git a/amulet/level/abc/_history/_cache.py b/src/amulet/level/abc/_history/_cache.py similarity index 100% rename from amulet/level/abc/_history/_cache.py rename to src/amulet/level/abc/_history/_cache.py diff --git a/amulet/level/abc/_history/_history_manager.py b/src/amulet/level/abc/_history/_history_manager.py similarity index 100% rename from amulet/level/abc/_history/_history_manager.py rename to src/amulet/level/abc/_history/_history_manager.py diff --git a/amulet/level/abc/_level/__init__.py b/src/amulet/level/abc/_level/__init__.py similarity index 100% rename from amulet/level/abc/_level/__init__.py rename to src/amulet/level/abc/_level/__init__.py diff --git a/amulet/level/abc/_level/_compactable_level.py b/src/amulet/level/abc/_level/_compactable_level.py similarity index 100% rename from amulet/level/abc/_level/_compactable_level.py rename to src/amulet/level/abc/_level/_compactable_level.py diff --git a/amulet/level/abc/_level/_creatable_level.py b/src/amulet/level/abc/_level/_creatable_level.py similarity index 100% rename from amulet/level/abc/_level/_creatable_level.py rename to src/amulet/level/abc/_level/_creatable_level.py diff --git a/amulet/level/abc/_level/_disk_level.py b/src/amulet/level/abc/_level/_disk_level.py similarity index 100% rename from amulet/level/abc/_level/_disk_level.py rename to src/amulet/level/abc/_level/_disk_level.py diff --git a/amulet/level/abc/_level/_level.py b/src/amulet/level/abc/_level/_level.py similarity index 100% rename from amulet/level/abc/_level/_level.py rename to src/amulet/level/abc/_level/_level.py diff --git a/amulet/level/abc/_level/_loadable_level.py b/src/amulet/level/abc/_level/_loadable_level.py similarity index 100% rename from amulet/level/abc/_level/_loadable_level.py rename to src/amulet/level/abc/_level/_loadable_level.py diff --git a/amulet/level/abc/_player_storage.py b/src/amulet/level/abc/_player_storage.py similarity index 100% rename from amulet/level/abc/_player_storage.py rename to src/amulet/level/abc/_player_storage.py diff --git a/amulet/level/abc/_raw_level.py b/src/amulet/level/abc/_raw_level.py similarity index 100% rename from amulet/level/abc/_raw_level.py rename to src/amulet/level/abc/_raw_level.py diff --git a/amulet/level/abc/_registry.py b/src/amulet/level/abc/_registry.py similarity index 100% rename from amulet/level/abc/_registry.py rename to src/amulet/level/abc/_registry.py diff --git a/amulet/level/bedrock/__init__.py b/src/amulet/level/bedrock/__init__.py similarity index 100% rename from amulet/level/bedrock/__init__.py rename to src/amulet/level/bedrock/__init__.py diff --git a/amulet/level/bedrock/_chunk_handle.py b/src/amulet/level/bedrock/_chunk_handle.py similarity index 100% rename from amulet/level/bedrock/_chunk_handle.py rename to src/amulet/level/bedrock/_chunk_handle.py diff --git a/amulet/level/bedrock/_dimension.py b/src/amulet/level/bedrock/_dimension.py similarity index 100% rename from amulet/level/bedrock/_dimension.py rename to src/amulet/level/bedrock/_dimension.py diff --git a/amulet/level/bedrock/_level.py b/src/amulet/level/bedrock/_level.py similarity index 100% rename from amulet/level/bedrock/_level.py rename to src/amulet/level/bedrock/_level.py diff --git a/amulet/level/bedrock/_raw/__init__.py b/src/amulet/level/bedrock/_raw/__init__.py similarity index 100% rename from amulet/level/bedrock/_raw/__init__.py rename to src/amulet/level/bedrock/_raw/__init__.py diff --git a/amulet/level/bedrock/_raw/_actor_counter.py b/src/amulet/level/bedrock/_raw/_actor_counter.py similarity index 100% rename from amulet/level/bedrock/_raw/_actor_counter.py rename to src/amulet/level/bedrock/_raw/_actor_counter.py diff --git a/amulet/level/bedrock/_raw/_chunk.py b/src/amulet/level/bedrock/_raw/_chunk.py similarity index 100% rename from amulet/level/bedrock/_raw/_chunk.py rename to src/amulet/level/bedrock/_raw/_chunk.py diff --git a/amulet/level/bedrock/_raw/_chunk_decode.py b/src/amulet/level/bedrock/_raw/_chunk_decode.py similarity index 100% rename from amulet/level/bedrock/_raw/_chunk_decode.py rename to src/amulet/level/bedrock/_raw/_chunk_decode.py diff --git a/amulet/level/bedrock/_raw/_chunk_encode.py b/src/amulet/level/bedrock/_raw/_chunk_encode.py similarity index 100% rename from amulet/level/bedrock/_raw/_chunk_encode.py rename to src/amulet/level/bedrock/_raw/_chunk_encode.py diff --git a/amulet/level/bedrock/_raw/_constant.py b/src/amulet/level/bedrock/_raw/_constant.py similarity index 100% rename from amulet/level/bedrock/_raw/_constant.py rename to src/amulet/level/bedrock/_raw/_constant.py diff --git a/amulet/level/bedrock/_raw/_dimension.py b/src/amulet/level/bedrock/_raw/_dimension.py similarity index 100% rename from amulet/level/bedrock/_raw/_dimension.py rename to src/amulet/level/bedrock/_raw/_dimension.py diff --git a/amulet/level/bedrock/_raw/_level.py b/src/amulet/level/bedrock/_raw/_level.py similarity index 100% rename from amulet/level/bedrock/_raw/_level.py rename to src/amulet/level/bedrock/_raw/_level.py diff --git a/amulet/level/bedrock/_raw/_level_dat.py b/src/amulet/level/bedrock/_raw/_level_dat.py similarity index 100% rename from amulet/level/bedrock/_raw/_level_dat.py rename to src/amulet/level/bedrock/_raw/_level_dat.py diff --git a/amulet/level/bedrock/_raw/_typing.py b/src/amulet/level/bedrock/_raw/_typing.py similarity index 100% rename from amulet/level/bedrock/_raw/_typing.py rename to src/amulet/level/bedrock/_raw/_typing.py diff --git a/amulet/level/bedrock/_raw/interface_changelog.txt b/src/amulet/level/bedrock/_raw/interface_changelog.txt similarity index 100% rename from amulet/level/bedrock/_raw/interface_changelog.txt rename to src/amulet/level/bedrock/_raw/interface_changelog.txt diff --git a/amulet/level/bedrock/_raw/leveldb_chunk_versions.py b/src/amulet/level/bedrock/_raw/leveldb_chunk_versions.py similarity index 100% rename from amulet/level/bedrock/_raw/leveldb_chunk_versions.py rename to src/amulet/level/bedrock/_raw/leveldb_chunk_versions.py diff --git a/amulet/level/bedrock/chunk/__init__.py b/src/amulet/level/bedrock/chunk/__init__.py similarity index 100% rename from amulet/level/bedrock/chunk/__init__.py rename to src/amulet/level/bedrock/chunk/__init__.py diff --git a/amulet/level/bedrock/chunk/_chunk.py b/src/amulet/level/bedrock/chunk/_chunk.py similarity index 100% rename from amulet/level/bedrock/chunk/_chunk.py rename to src/amulet/level/bedrock/chunk/_chunk.py diff --git a/amulet/level/bedrock/chunk/components/__init__.py b/src/amulet/level/bedrock/chunk/components/__init__.py similarity index 100% rename from amulet/level/bedrock/chunk/components/__init__.py rename to src/amulet/level/bedrock/chunk/components/__init__.py diff --git a/amulet/level/bedrock/chunk/components/chunk_version.py b/src/amulet/level/bedrock/chunk/components/chunk_version.py similarity index 100% rename from amulet/level/bedrock/chunk/components/chunk_version.py rename to src/amulet/level/bedrock/chunk/components/chunk_version.py diff --git a/amulet/level/bedrock/chunk/components/finalised_state.py b/src/amulet/level/bedrock/chunk/components/finalised_state.py similarity index 100% rename from amulet/level/bedrock/chunk/components/finalised_state.py rename to src/amulet/level/bedrock/chunk/components/finalised_state.py diff --git a/amulet/level/bedrock/chunk/components/raw_chunk.py b/src/amulet/level/bedrock/chunk/components/raw_chunk.py similarity index 100% rename from amulet/level/bedrock/chunk/components/raw_chunk.py rename to src/amulet/level/bedrock/chunk/components/raw_chunk.py diff --git a/amulet/level/bedrock/format.md b/src/amulet/level/bedrock/format.md similarity index 100% rename from amulet/level/bedrock/format.md rename to src/amulet/level/bedrock/format.md diff --git a/amulet/level/construction/__init__.py b/src/amulet/level/construction/__init__.py similarity index 100% rename from amulet/level/construction/__init__.py rename to src/amulet/level/construction/__init__.py diff --git a/amulet/level/java/__init__.py b/src/amulet/level/java/__init__.py similarity index 100% rename from amulet/level/java/__init__.py rename to src/amulet/level/java/__init__.py diff --git a/amulet/level/java/_chunk_handle.py b/src/amulet/level/java/_chunk_handle.py similarity index 100% rename from amulet/level/java/_chunk_handle.py rename to src/amulet/level/java/_chunk_handle.py diff --git a/amulet/level/java/_dimension.py b/src/amulet/level/java/_dimension.py similarity index 100% rename from amulet/level/java/_dimension.py rename to src/amulet/level/java/_dimension.py diff --git a/amulet/level/java/_level.py b/src/amulet/level/java/_level.py similarity index 100% rename from amulet/level/java/_level.py rename to src/amulet/level/java/_level.py diff --git a/amulet/level/java/_raw/__init__.py b/src/amulet/level/java/_raw/__init__.py similarity index 100% rename from amulet/level/java/_raw/__init__.py rename to src/amulet/level/java/_raw/__init__.py diff --git a/amulet/level/java/_raw/_chunk_decode.py b/src/amulet/level/java/_raw/_chunk_decode.py similarity index 100% rename from amulet/level/java/_raw/_chunk_decode.py rename to src/amulet/level/java/_raw/_chunk_decode.py diff --git a/amulet/level/java/_raw/_chunk_encode.py b/src/amulet/level/java/_raw/_chunk_encode.py similarity index 100% rename from amulet/level/java/_raw/_chunk_encode.py rename to src/amulet/level/java/_raw/_chunk_encode.py diff --git a/amulet/level/java/_raw/_constant.py b/src/amulet/level/java/_raw/_constant.py similarity index 100% rename from amulet/level/java/_raw/_constant.py rename to src/amulet/level/java/_raw/_constant.py diff --git a/amulet/level/java/_raw/_data_pack/__init__.py b/src/amulet/level/java/_raw/_data_pack/__init__.py similarity index 100% rename from amulet/level/java/_raw/_data_pack/__init__.py rename to src/amulet/level/java/_raw/_data_pack/__init__.py diff --git a/amulet/level/java/_raw/_data_pack/data_pack.py b/src/amulet/level/java/_raw/_data_pack/data_pack.py similarity index 100% rename from amulet/level/java/_raw/_data_pack/data_pack.py rename to src/amulet/level/java/_raw/_data_pack/data_pack.py diff --git a/amulet/level/java/_raw/_data_pack/data_pack_manager.py b/src/amulet/level/java/_raw/_data_pack/data_pack_manager.py similarity index 100% rename from amulet/level/java/_raw/_data_pack/data_pack_manager.py rename to src/amulet/level/java/_raw/_data_pack/data_pack_manager.py diff --git a/amulet/level/java/_raw/_dimension.py b/src/amulet/level/java/_raw/_dimension.py similarity index 100% rename from amulet/level/java/_raw/_dimension.py rename to src/amulet/level/java/_raw/_dimension.py diff --git a/amulet/level/java/_raw/_level.py b/src/amulet/level/java/_raw/_level.py similarity index 100% rename from amulet/level/java/_raw/_level.py rename to src/amulet/level/java/_raw/_level.py diff --git a/amulet/level/java/_raw/_typing.py b/src/amulet/level/java/_raw/_typing.py similarity index 100% rename from amulet/level/java/_raw/_typing.py rename to src/amulet/level/java/_raw/_typing.py diff --git a/amulet/level/java/anvil/__init__.py b/src/amulet/level/java/anvil/__init__.py similarity index 100% rename from amulet/level/java/anvil/__init__.py rename to src/amulet/level/java/anvil/__init__.py diff --git a/amulet/level/java/anvil/_dimension.py b/src/amulet/level/java/anvil/_dimension.py similarity index 100% rename from amulet/level/java/anvil/_dimension.py rename to src/amulet/level/java/anvil/_dimension.py diff --git a/amulet/level/java/anvil/_region.py b/src/amulet/level/java/anvil/_region.py similarity index 100% rename from amulet/level/java/anvil/_region.py rename to src/amulet/level/java/anvil/_region.py diff --git a/amulet/level/java/anvil/_sector_manager.py b/src/amulet/level/java/anvil/_sector_manager.py similarity index 100% rename from amulet/level/java/anvil/_sector_manager.py rename to src/amulet/level/java/anvil/_sector_manager.py diff --git a/amulet/level/java/chunk/__init__.py b/src/amulet/level/java/chunk/__init__.py similarity index 100% rename from amulet/level/java/chunk/__init__.py rename to src/amulet/level/java/chunk/__init__.py diff --git a/amulet/level/java/chunk/_chunk.py b/src/amulet/level/java/chunk/_chunk.py similarity index 100% rename from amulet/level/java/chunk/_chunk.py rename to src/amulet/level/java/chunk/_chunk.py diff --git a/amulet/level/java/chunk/components/__init__.py b/src/amulet/level/java/chunk/components/__init__.py similarity index 100% rename from amulet/level/java/chunk/components/__init__.py rename to src/amulet/level/java/chunk/components/__init__.py diff --git a/amulet/level/java/chunk/components/data_version.py b/src/amulet/level/java/chunk/components/data_version.py similarity index 100% rename from amulet/level/java/chunk/components/data_version.py rename to src/amulet/level/java/chunk/components/data_version.py diff --git a/amulet/level/java/chunk/components/inhabited_time.py b/src/amulet/level/java/chunk/components/inhabited_time.py similarity index 100% rename from amulet/level/java/chunk/components/inhabited_time.py rename to src/amulet/level/java/chunk/components/inhabited_time.py diff --git a/amulet/level/java/chunk/components/last_update.py b/src/amulet/level/java/chunk/components/last_update.py similarity index 100% rename from amulet/level/java/chunk/components/last_update.py rename to src/amulet/level/java/chunk/components/last_update.py diff --git a/amulet/level/java/chunk/components/legacy_version.py b/src/amulet/level/java/chunk/components/legacy_version.py similarity index 100% rename from amulet/level/java/chunk/components/legacy_version.py rename to src/amulet/level/java/chunk/components/legacy_version.py diff --git a/amulet/level/java/chunk/components/light_populated.py b/src/amulet/level/java/chunk/components/light_populated.py similarity index 100% rename from amulet/level/java/chunk/components/light_populated.py rename to src/amulet/level/java/chunk/components/light_populated.py diff --git a/amulet/level/java/chunk/components/named_height_2d.py b/src/amulet/level/java/chunk/components/named_height_2d.py similarity index 100% rename from amulet/level/java/chunk/components/named_height_2d.py rename to src/amulet/level/java/chunk/components/named_height_2d.py diff --git a/amulet/level/java/chunk/components/raw_chunk.py b/src/amulet/level/java/chunk/components/raw_chunk.py similarity index 100% rename from amulet/level/java/chunk/components/raw_chunk.py rename to src/amulet/level/java/chunk/components/raw_chunk.py diff --git a/amulet/level/java/chunk/components/status.py b/src/amulet/level/java/chunk/components/status.py similarity index 100% rename from amulet/level/java/chunk/components/status.py rename to src/amulet/level/java/chunk/components/status.py diff --git a/amulet/level/java/chunk/components/terrain_populated.py b/src/amulet/level/java/chunk/components/terrain_populated.py similarity index 100% rename from amulet/level/java/chunk/components/terrain_populated.py rename to src/amulet/level/java/chunk/components/terrain_populated.py diff --git a/amulet/level/java_forge/__init__.py b/src/amulet/level/java_forge/__init__.py similarity index 100% rename from amulet/level/java_forge/__init__.py rename to src/amulet/level/java_forge/__init__.py diff --git a/amulet/level/mcstructure/__init__.py b/src/amulet/level/mcstructure/__init__.py similarity index 100% rename from amulet/level/mcstructure/__init__.py rename to src/amulet/level/mcstructure/__init__.py diff --git a/amulet/level/nbt/__init__.py b/src/amulet/level/nbt/__init__.py similarity index 100% rename from amulet/level/nbt/__init__.py rename to src/amulet/level/nbt/__init__.py diff --git a/amulet/level/readme.md b/src/amulet/level/readme.md similarity index 100% rename from amulet/level/readme.md rename to src/amulet/level/readme.md diff --git a/amulet/level/schematic/__init__.py b/src/amulet/level/schematic/__init__.py similarity index 100% rename from amulet/level/schematic/__init__.py rename to src/amulet/level/schematic/__init__.py diff --git a/amulet/level/sponge_schematic/__init__.py b/src/amulet/level/sponge_schematic/__init__.py similarity index 100% rename from amulet/level/sponge_schematic/__init__.py rename to src/amulet/level/sponge_schematic/__init__.py diff --git a/amulet/level/temporary_level/__init__.py b/src/amulet/level/temporary_level/__init__.py similarity index 100% rename from amulet/level/temporary_level/__init__.py rename to src/amulet/level/temporary_level/__init__.py diff --git a/amulet/level/temporary_level/_level.py b/src/amulet/level/temporary_level/_level.py similarity index 100% rename from amulet/level/temporary_level/_level.py rename to src/amulet/level/temporary_level/_level.py diff --git a/amulet/palette/__init__.py b/src/amulet/palette/__init__.py similarity index 100% rename from amulet/palette/__init__.py rename to src/amulet/palette/__init__.py diff --git a/amulet/palette/_palette.py b/src/amulet/palette/_palette.py similarity index 100% rename from amulet/palette/_palette.py rename to src/amulet/palette/_palette.py diff --git a/amulet/palette/biome_palette.py b/src/amulet/palette/biome_palette.py similarity index 100% rename from amulet/palette/biome_palette.py rename to src/amulet/palette/biome_palette.py diff --git a/amulet/palette/block_palette.py b/src/amulet/palette/block_palette.py similarity index 100% rename from amulet/palette/block_palette.py rename to src/amulet/palette/block_palette.py diff --git a/amulet/player.py b/src/amulet/player.py similarity index 100% rename from amulet/player.py rename to src/amulet/player.py diff --git a/amulet/py.typed b/src/amulet/py.typed similarity index 100% rename from amulet/py.typed rename to src/amulet/py.typed diff --git a/amulet/selection/__init__.py b/src/amulet/selection/__init__.py similarity index 100% rename from amulet/selection/__init__.py rename to src/amulet/selection/__init__.py diff --git a/amulet/selection/abstract_selection.py b/src/amulet/selection/abstract_selection.py similarity index 100% rename from amulet/selection/abstract_selection.py rename to src/amulet/selection/abstract_selection.py diff --git a/amulet/selection/box.py b/src/amulet/selection/box.py similarity index 100% rename from amulet/selection/box.py rename to src/amulet/selection/box.py diff --git a/amulet/selection/group.py b/src/amulet/selection/group.py similarity index 100% rename from amulet/selection/group.py rename to src/amulet/selection/group.py diff --git a/amulet/utils/__init__.py b/src/amulet/utils/__init__.py similarity index 100% rename from amulet/utils/__init__.py rename to src/amulet/utils/__init__.py diff --git a/amulet/utils/call_spec/__init__.py b/src/amulet/utils/call_spec/__init__.py similarity index 100% rename from amulet/utils/call_spec/__init__.py rename to src/amulet/utils/call_spec/__init__.py diff --git a/amulet/utils/call_spec/_call_spec.py b/src/amulet/utils/call_spec/_call_spec.py similarity index 100% rename from amulet/utils/call_spec/_call_spec.py rename to src/amulet/utils/call_spec/_call_spec.py diff --git a/amulet/utils/format_utils.py b/src/amulet/utils/format_utils.py similarity index 100% rename from amulet/utils/format_utils.py rename to src/amulet/utils/format_utils.py diff --git a/amulet/utils/generator.py b/src/amulet/utils/generator.py similarity index 100% rename from amulet/utils/generator.py rename to src/amulet/utils/generator.py diff --git a/amulet/utils/matrix.py b/src/amulet/utils/matrix.py similarity index 100% rename from amulet/utils/matrix.py rename to src/amulet/utils/matrix.py diff --git a/amulet/utils/numpy/__init__.py b/src/amulet/utils/numpy/__init__.py similarity index 100% rename from amulet/utils/numpy/__init__.py rename to src/amulet/utils/numpy/__init__.py diff --git a/amulet/utils/numpy/_unique_cy.pyi b/src/amulet/utils/numpy/_unique_cy.pyi similarity index 100% rename from amulet/utils/numpy/_unique_cy.pyi rename to src/amulet/utils/numpy/_unique_cy.pyi diff --git a/amulet/utils/numpy/_unique_cy.pyx b/src/amulet/utils/numpy/_unique_cy.pyx similarity index 100% rename from amulet/utils/numpy/_unique_cy.pyx rename to src/amulet/utils/numpy/_unique_cy.pyx diff --git a/amulet/utils/numpy_helpers.py b/src/amulet/utils/numpy_helpers.py similarity index 100% rename from amulet/utils/numpy_helpers.py rename to src/amulet/utils/numpy_helpers.py diff --git a/amulet/utils/shareable_lock.py b/src/amulet/utils/shareable_lock.py similarity index 100% rename from amulet/utils/shareable_lock.py rename to src/amulet/utils/shareable_lock.py diff --git a/amulet/utils/signal/__init__.py b/src/amulet/utils/signal/__init__.py similarity index 100% rename from amulet/utils/signal/__init__.py rename to src/amulet/utils/signal/__init__.py diff --git a/amulet/utils/signal/_signal.py b/src/amulet/utils/signal/_signal.py similarity index 100% rename from amulet/utils/signal/_signal.py rename to src/amulet/utils/signal/_signal.py diff --git a/amulet/utils/task_manager.py b/src/amulet/utils/task_manager.py similarity index 100% rename from amulet/utils/task_manager.py rename to src/amulet/utils/task_manager.py diff --git a/amulet/utils/typed_property.py b/src/amulet/utils/typed_property.py similarity index 100% rename from amulet/utils/typed_property.py rename to src/amulet/utils/typed_property.py diff --git a/amulet/utils/typing.py b/src/amulet/utils/typing.py similarity index 100% rename from amulet/utils/typing.py rename to src/amulet/utils/typing.py diff --git a/amulet/utils/weakref.py b/src/amulet/utils/weakref.py similarity index 100% rename from amulet/utils/weakref.py rename to src/amulet/utils/weakref.py diff --git a/amulet/utils/world_utils.py b/src/amulet/utils/world_utils.py similarity index 100% rename from amulet/utils/world_utils.py rename to src/amulet/utils/world_utils.py diff --git a/amulet/version.py b/src/amulet/version.py similarity index 100% rename from amulet/version.py rename to src/amulet/version.py