-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test the fix for including modules from different locations
When we try to include moduleA from libA and moduleB from libB then package_dir in the generated setup.py must to contain either one or both `"moduleA": "libA/moduleA"` or `"moduleB": "libB/moduleB"` so we are able to find both modules when building the source dist.
- Loading branch information
Showing
4 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Empty file.
15 changes: 15 additions & 0 deletions
15
tests/masonry/builders/fixtures/split_source/pyproject.toml
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[tool.poetry] | ||
name = "split-source" | ||
version = "0.1" | ||
description = "Combine packages from different locations." | ||
authors = [ | ||
"Jan Harkes <jaharkes@cs.cmu.edu>" | ||
] | ||
license = "MIT" | ||
packages = [ | ||
{ include = "moduleA", from = "libA" }, | ||
{ include = "moduleB", from = "libB" }, | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.6" |
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