Skip to content

Commit

Permalink
build: change flat-layout to src-layout (issues with editable installs)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Nov 21, 2023
1 parent 085561c commit 0560198
Show file tree
Hide file tree
Showing 37 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/

dcnum/_version.py
_version.py
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
issue #15.
- ref: increment DCNUM_PPID_GENERATION to 7
- ref: several changes and deprecations in the PPID helper functions
- build: change flat-layout to src-layout (issues with editable installs)
0.14.0
- fix: protected features (e.g. time, frame) were not included in ouptut
files when the input file was basin-based
Expand Down
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=46", "setuptools_scm[toml]>=6.2"]
requires = ["setuptools>=64", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"

[project]
Expand Down Expand Up @@ -40,9 +40,6 @@ tracker = "https://github.com/DC-Analysis/dcnum/issues"
documentation = "https://dcnum.readthedocs.io/en/stable/"
changelog = "https://dcnum.readthedocs.io/en/stable/sec_changelog.html"

[tool.setuptools]
packages = ["dcnum"]

[tool.setuptools_scm]
write_to = "dcnum/_version.py"
write_to = "src/dcnum/_version.py"
version_scheme = "post-release"
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 0560198

Please sign in to comment.