Skip to content

Commit e2822da

Browse files
authored
BUG Fix install with src layout (#506)
* 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
1 parent 19b7cba commit e2822da

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+4
-8
lines changed

.github/workflows/testing.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ jobs:
4949
# installing. Should be removed with a src-layout
5050
# https://github.com/CORE-GATECH-GROUP/serpent-tools/issues/499
5151
run: |
52-
export PYTHONPATH=${GITHUB_WORKSPACE}:${PYTHONPATH}
5352
cd examples
5453
jupyter execute *ipynb
5554

MANIFEST.in

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
include versioneer.py
2-
include serpentTools/_version.py
3-
include serpentTools/variables.yaml
4-
include serpentTools/data/*.m
5-
include serpentTools/data/*.coe
1+
include src/serpentTools/variables.yaml
2+
include src/serpentTools/data/*.m
3+
include src/serpentTools/data/*.coe

docs/examples/nodal_writer.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ serpentTools = ["variables.yaml"]
5050
"serpentTools.data" = ["*.m", "*.coe"]
5151

5252
[tool.setuptools.packages.find]
53-
where = ["serpentTools"]
53+
where = ["src"]
5454

5555
# This is okay to be empty, but we need a section here
5656
# in order to trigger it's usage when setting version data
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 commit comments

Comments
 (0)