diff --git a/python/featomic/setup.py b/python/featomic/setup.py index f1ee066d3..434afdd5f 100644 --- a/python/featomic/setup.py +++ b/python/featomic/setup.py @@ -22,8 +22,9 @@ "expected 'debug' or 'release'" ) - -FEATOMIC_TORCH_SRC = os.path.join(ROOT, "..", "featomic-torch") +# The code for featomic-torch needs to live in `featomic_torch` directory until +# https://github.com/pypa/pip/issues/13093 is fixed. +FEATOMIC_TORCH_SRC = os.path.realpath(os.path.join(ROOT, "..", "featomic_torch")) class universal_wheel(bdist_wheel): diff --git a/python/featomic-torch/AUTHORS b/python/featomic_torch/AUTHORS similarity index 100% rename from python/featomic-torch/AUTHORS rename to python/featomic_torch/AUTHORS diff --git a/python/featomic-torch/LICENSE b/python/featomic_torch/LICENSE similarity index 100% rename from python/featomic-torch/LICENSE rename to python/featomic_torch/LICENSE diff --git a/python/featomic-torch/MANIFEST.in b/python/featomic_torch/MANIFEST.in similarity index 100% rename from python/featomic-torch/MANIFEST.in rename to python/featomic_torch/MANIFEST.in diff --git a/python/featomic-torch/README.rst b/python/featomic_torch/README.rst similarity index 100% rename from python/featomic-torch/README.rst rename to python/featomic_torch/README.rst diff --git a/python/featomic-torch/build-backend/backend.py b/python/featomic_torch/build-backend/backend.py similarity index 100% rename from python/featomic-torch/build-backend/backend.py rename to python/featomic_torch/build-backend/backend.py diff --git a/python/featomic-torch/featomic/torch/__init__.py b/python/featomic_torch/featomic/torch/__init__.py similarity index 100% rename from python/featomic-torch/featomic/torch/__init__.py rename to python/featomic_torch/featomic/torch/__init__.py diff --git a/python/featomic-torch/featomic/torch/_c_lib.py b/python/featomic_torch/featomic/torch/_c_lib.py similarity index 100% rename from python/featomic-torch/featomic/torch/_c_lib.py rename to python/featomic_torch/featomic/torch/_c_lib.py diff --git a/python/featomic-torch/featomic/torch/calculator_base.py b/python/featomic_torch/featomic/torch/calculator_base.py similarity index 100% rename from python/featomic-torch/featomic/torch/calculator_base.py rename to python/featomic_torch/featomic/torch/calculator_base.py diff --git a/python/featomic-torch/featomic/torch/calculators.py b/python/featomic_torch/featomic/torch/calculators.py similarity index 100% rename from python/featomic-torch/featomic/torch/calculators.py rename to python/featomic_torch/featomic/torch/calculators.py diff --git a/python/featomic-torch/featomic/torch/system.py b/python/featomic_torch/featomic/torch/system.py similarity index 100% rename from python/featomic-torch/featomic/torch/system.py rename to python/featomic_torch/featomic/torch/system.py diff --git a/python/featomic-torch/featomic/torch/utils.py b/python/featomic_torch/featomic/torch/utils.py similarity index 100% rename from python/featomic-torch/featomic/torch/utils.py rename to python/featomic_torch/featomic/torch/utils.py diff --git a/python/featomic-torch/pyproject.toml b/python/featomic_torch/pyproject.toml similarity index 100% rename from python/featomic-torch/pyproject.toml rename to python/featomic_torch/pyproject.toml diff --git a/python/featomic-torch/setup.py b/python/featomic_torch/setup.py similarity index 100% rename from python/featomic-torch/setup.py rename to python/featomic_torch/setup.py diff --git a/python/featomic-torch/tests/autograd.py b/python/featomic_torch/tests/autograd.py similarity index 100% rename from python/featomic-torch/tests/autograd.py rename to python/featomic_torch/tests/autograd.py diff --git a/python/featomic-torch/tests/calculator.py b/python/featomic_torch/tests/calculator.py similarity index 100% rename from python/featomic-torch/tests/calculator.py rename to python/featomic_torch/tests/calculator.py diff --git a/python/featomic-torch/tests/export.py b/python/featomic_torch/tests/export.py similarity index 100% rename from python/featomic-torch/tests/export.py rename to python/featomic_torch/tests/export.py diff --git a/python/featomic-torch/tests/system.py b/python/featomic_torch/tests/system.py similarity index 100% rename from python/featomic-torch/tests/system.py rename to python/featomic_torch/tests/system.py diff --git a/python/featomic-torch/tests/utils/cartesian_spherical.py b/python/featomic_torch/tests/utils/cartesian_spherical.py similarity index 100% rename from python/featomic-torch/tests/utils/cartesian_spherical.py rename to python/featomic_torch/tests/utils/cartesian_spherical.py diff --git a/python/featomic-torch/tests/utils/cg_product.py b/python/featomic_torch/tests/utils/cg_product.py similarity index 100% rename from python/featomic-torch/tests/utils/cg_product.py rename to python/featomic_torch/tests/utils/cg_product.py diff --git a/python/featomic-torch/tests/utils/cmake_prefix.py b/python/featomic_torch/tests/utils/cmake_prefix.py similarity index 100% rename from python/featomic-torch/tests/utils/cmake_prefix.py rename to python/featomic_torch/tests/utils/cmake_prefix.py diff --git a/python/featomic-torch/tests/utils/density_correlations.py b/python/featomic_torch/tests/utils/density_correlations.py similarity index 100% rename from python/featomic-torch/tests/utils/density_correlations.py rename to python/featomic_torch/tests/utils/density_correlations.py diff --git a/python/featomic-torch/tests/utils/power_spectrum.py b/python/featomic_torch/tests/utils/power_spectrum.py similarity index 100% rename from python/featomic-torch/tests/utils/power_spectrum.py rename to python/featomic_torch/tests/utils/power_spectrum.py