Skip to content

Commit

Permalink
Scripts need to be importable
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBetteridge committed Oct 31, 2024
1 parent fa73211 commit 0519e07
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 11 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ Repository = "https://github.com/firedrakeproject/firedrake"
Issues = "https://github.com/firedrakeproject/firedrake/issues/new/choose"

[project.scripts]
firedrake-clean = "scripts.firedrake-clean:main"
firedrake-preprocess-bibtex = "scripts.firedrake-preprocess-bibtex:main"
firedrake-status = "scripts.firedrake-status:main"
firedrake-clean = "firedrake.scripts.firedrake_clean:main"
firedrake-preprocess-bibtex = "firedrake.scripts.firedrake-preprocess_bibtex:main"
firedrake-status = "firedrake.scripts.firedrake_status:main"
pyop2-clean = "pyop2.compilation:clear_compiler_disk_cache"
spydump = "scripts.spydump:main"
spydump = "pyop2.scripts.spydump:main"

[project.optional-dependencies]
test = [
Expand Down
6 changes: 0 additions & 6 deletions scripts/pyop2-clean

This file was deleted.

5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ def get_petsc_dir():
setup(
cmdclass=cmdclass,
packages=find_packages(),
package_data={"firedrake": ["evaluate.h", "locate.c", "icons/*.png"]},
package_data={
"firedrake": ["evaluate.h", "locate.c", "icons/*.png"],
"pyop2": ["assets/*", "*.h", "*.pxd", "*.pyx", "codegen/c/*.c"]
},
ext_modules=extensions
)

Expand Down

0 comments on commit 0519e07

Please sign in to comment.