-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes to use 'src' strategy to install Underworld with pip install .
- Loading branch information
Showing
2 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
recursive-include underworld *i | ||
recursive-include underworld *c | ||
recursive-include underworld *cpp | ||
recursive-include underworld *h | ||
recursive-include underworld *hpp | ||
recursive-include underworld *py | ||
recursive-include underworld CMakeLists* | ||
recursive-include underworld/UWGeodynamics/ressources *.json | ||
recursive-include underworld/UWGeodynamics/uwgeo-data * | ||
# recursive-include src/underworld *i | ||
# recursive-include src/underworld *c | ||
# recursive-include src/underworld *cpp | ||
# recursive-include src/underworld *h | ||
# recursive-include src/underworld *hpp | ||
#recursive-include src/underworld CMakeLists* | ||
recursive-include src/underworld *py | ||
recursive-include src/underworld/UWGeodynamics/ressources *.json | ||
recursive-include src/underworld/UWGeodynamics/uwgeo-data * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -310,11 +310,11 @@ def extend_cmake_prefix_path(path: str) -> None: | |
author_email='[email protected]', | ||
maintainer='Underworld Team', | ||
maintainer_email='[email protected]', | ||
include_package_data=True, | ||
package_data={ | ||
'UWGeodynamics': ['ressources/*', 'uwgeo-data/*'], | ||
}, | ||
packages=find_packages(), | ||
include_package_data=True, # use the file './MANIFEST.in' for package data files | ||
package_dir={"":"src"}, # directory containing underworld package | ||
packages=find_packages( | ||
where='src', | ||
include = ['underworld', 'UWGeodynamics'],), | ||
ext_modules=[ | ||
CMakeExtension(name='libUnderworld', | ||
install_prefix="underworld", | ||
|