Skip to content

Commit 479c92e

Browse files
authored
Move installation-related modules to amici._installation (#3056)
1 parent f76cb6c commit 479c92e

5 files changed

Lines changed: 4 additions & 3 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Private installation helper functions for AMICI."""

python/sdist/amici/custom_commands.py renamed to python/sdist/amici/_installation/custom_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from setuptools.command.install_lib import install_lib
1313
from setuptools.command.sdist import sdist
1414

15-
from amici.swig import fix_typehints
15+
from amici._installation.swig import fix_typehints
1616

1717

1818
class AmiciInstall(install):

python/sdist/amici/exporters/sundials/templates/setup.template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from pathlib import Path
77

88
from amici import _get_amici_path
9-
from amici.custom_commands import AmiciBuildCMakeExtension
9+
from amici._installation.custom_commands import AmiciBuildCMakeExtension
1010
from cmake_build_extension import CMakeExtension
1111
from setuptools import find_namespace_packages, setup
1212

python/sdist/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# package already for installation
2323
sys.path.insert(0, os.path.dirname(__file__))
2424

25-
from amici.custom_commands import (
25+
from amici._installation.custom_commands import (
2626
AmiciBuildCMakeExtension,
2727
AmiciBuildPy,
2828
AmiciDevelop,

0 commit comments

Comments
 (0)