Skip to content

Commit

Permalink
BUG Fix install with src layout (#506)
Browse files Browse the repository at this point in the history
* Remove broken docs/examples/nodal_writer.py symlink

Wasn't used in docs as a downloadable file, so I don't think it's necessary

* Move serpentTools to src/serpentTools : fix installation

Closes #499

* Remove pythonpath hack from jupyter notebook testing
  • Loading branch information
drewejohnson authored Aug 23, 2023
1 parent 19b7cba commit e2822da
Show file tree
Hide file tree
Showing 80 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ jobs:
# installing. Should be removed with a src-layout
# https://github.com/CORE-GATECH-GROUP/serpent-tools/issues/499
run: |
export PYTHONPATH=${GITHUB_WORKSPACE}:${PYTHONPATH}
cd examples
jupyter execute *ipynb
Expand Down
8 changes: 3 additions & 5 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
include versioneer.py
include serpentTools/_version.py
include serpentTools/variables.yaml
include serpentTools/data/*.m
include serpentTools/data/*.coe
include src/serpentTools/variables.yaml
include src/serpentTools/data/*.m
include src/serpentTools/data/*.coe
1 change: 0 additions & 1 deletion docs/examples/nodal_writer.py

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ serpentTools = ["variables.yaml"]
"serpentTools.data" = ["*.m", "*.coe"]

[tool.setuptools.packages.find]
where = ["serpentTools"]
where = ["src"]

# This is okay to be empty, but we need a section here
# in order to trigger it's usage when setting version data
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e2822da

Please sign in to comment.