Skip to content

Commit

Permalink
Ensure package data included with install (#178)
Browse files Browse the repository at this point in the history
Previously `setup.cfg` was missing the `include_package_data` setting
and so package data wasn't being installed even though it was included
in the built package.
  • Loading branch information
leifdenby authored Nov 6, 2022
1 parent 29065ad commit e2e69ca
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [Unreleased](https://github.com/EUREC4A-UK/lagtraj/tree/HEAD)

[Full Changelog](https://github.com/EUREC4A-UK/lagtraj/compare/v0.1.0...HEAD)

*bugfixes*

- ensure package data (example input definitions and ERA5 level definitions)
are installed when installing `lagtraj` from pypi
[\#178](https://github.com/EUREC4A-UK/lagtraj/pull/178) @leifdenby


## [v0.1.0](https://github.com/EUREC4A-UK/lagtraj/tree/v0.1.0)

[Full Changelog](https://github.com/EUREC4A-UK/lagtraj/compare/...v0.1.0)
Expand Down
16 changes: 13 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
include versioneer.py
include lagtraj/_version.py
recursive-include lagtraj/input_definitions/examples_files *
include *.in
include *.md
include *.txt
include *.yaml
recursive-include docs *.bib
recursive-include docs *.md
recursive-include docs *.png
recursive-include docs *.tex
recursive-include lagtraj *.dat
recursive-include lagtraj *.yaml

# added by check-manifest
recursive-include tests *.py
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ install_requires =
psutil
semver==2.13.0
numba
include_package_data = true

[options.packages.find]
where=.
Expand Down

0 comments on commit e2e69ca

Please sign in to comment.