Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Apr 20, 2024
1 parent 28facd6 commit 9dc88c7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions python/sdist/amici/custom_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,6 @@ def build_extension(self, ext: CMakeExtension) -> None:
# put some structure into CMake output
print("-" * 30, ext.name, "-" * 30, file=sys.stderr)

# since switching to pyproject.toml, we are already in amici/
# for editable installs, but not for regular installs. therefore,
# we need to remove the install prefix for editable installs
if self.editable_mode and ext.install_prefix == "amici":
ext.install_prefix = ""

# Some hack to be able to use distutils' potentially temporary build
# directory in CMake options:
# Any occurrence of `${build_dir}` will be replaced by said path.
Expand Down
1 change: 0 additions & 1 deletion python/sdist/bin

This file was deleted.

3 changes: 0 additions & 3 deletions python/sdist/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ Repository = "https://github.com/AMICI-dev/AMICI.git"
## https://setuptools-scm.readthedocs.io/en/latest/
#root = "../.."

[tool.setuptools.packages.find]
where = ["amici"]

[tool.setuptools.package-data]
amici = [
"amici/include/amici/*",
Expand Down

0 comments on commit 9dc88c7

Please sign in to comment.