Skip to content

Commit

Permalink
include test data files in sdist but exclude from wheel
Browse files Browse the repository at this point in the history
- fix #293
- bumped release date to today
  • Loading branch information
orbeckst committed Oct 11, 2024
1 parent 23ed626 commit bb02461
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CHANGES for MDPOW
Add summary of changes for each release. Use ISO 8061 dates. Reference
GitHub issues numbers and PR numbers.

2024-10-10 0.9.0
2024-10-11 0.9.0
cadeduckworth, orbeckst, VOD555, a-ws-m

Changes
Expand Down Expand Up @@ -74,6 +74,9 @@ Fixes
* fix ensemble.EnsembleAnalysis.check_groups_from_common_ensemble (#212)
* updated versioneer (#285)
* fix that simulation stages cannot be restarted after error (#272)
* fix that testing resource data files were not packaged at all; they are now
included with the sdist (tar.gz) (23 MiB) but excluded from the wheel (whl)
(2.3 MiB) (#293)


2022-01-03 0.8.0
Expand Down
6 changes: 4 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
include setup.py setup.cfg COPYING INSTALL.rst README.rst AUTHORS CHANGES
include versioneer.py
include mdpow/_version.py
graft mdpow/templates/
graft mdpow/top/
include versioneer.py
include mdpow/_version.py
graft mdpow/tests/testing_resources/
global-exclude *.py[cod]
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
"scripts/mdpow-solvationenergy",
"scripts/mdpow-get-runinput",
],
# exclude large data sets in tests/testing_resources/*
include_package_data=True,
package_data={
"mdpow": [
"top/*.dat",
Expand All @@ -57,6 +59,11 @@
"templates/*",
],
},
exclude_package_data={
"mdpow.tests": [
"testing_resources/*",
]
},
install_requires=[
"numpy>=1.6",
"scipy>=1.11.0",
Expand Down

0 comments on commit bb02461

Please sign in to comment.