Skip to content

Commit

Permalink
Be more verbose in destpath error in build_ext.build_extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjziebarth committed May 4, 2023
1 parent c57707d commit c99c2aa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ Mebuex is licensed under the MIT license (see the LICENSE file).
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### [1.1.4] - 2023-05-04
#### Changed
- Be more verbose on `destpath` error in `build_ext.build_extension`.

### [1.1.3] - 2023-04-14
#### Added
- Add example project in `example/` subfolder.
Expand Down
4 changes: 3 additions & 1 deletion mebuex/build_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ def build_extension(self, ext):
raise RuntimeError("Cannot copy built extension because the "
"target directory does not exist. This "
"likely indicates a missing sub-package in "
"the setup configuration.")
"the setup configuration.\nMore info:\n"
" destpath: '" + str(destpath) + "'\n"
" pdir: '" + str(pdir) + "'")
destname = (destpath / filename).resolve()
copy_file((Path(buildpath) / filename).resolve(),
destname, verbose=self.verbose,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools>=61"]

[project]
name = "mebuex"
version = "1.1.3"
version = "1.1.4"
authors = [
{name = "Malte J. Ziebarth", email = "mjz.science@fmvkb.de"},
]
Expand Down

0 comments on commit c99c2aa

Please sign in to comment.