-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_build: Update Python GN templates
This CL adds new targets to pw_create_python_source_tree to match existing targets created by pw_python_package. - .install pip installs a merged Python package - .wheel Creates a distributable wheel python_package.py changes here are used for gathering Python dependency info in the absense of package setup information. For example: a Python library that is not a pip installable Python package. - Make setup.cfg (setup sources in general) optional for saved GN python package metadata. - Add top_level_source_dir property to find the root folder of a Python dependency. - Update package_dir to fall back on top_level_source_dir if no setup.cfg files are present. - Update package_name to fall back on top_level_source_dir or the gn target name. Change-Id: I2b46daf4c7d09fe6b16190b9a0c4ef6d4e3d86ea Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/92141 Reviewed-by: Armando Montanez <amontanez@google.com> Commit-Queue: Anthony DiGirolamo <tonymd@google.com>
- Loading branch information
1 parent
48b731d
commit 98520a1
Showing
5 changed files
with
186 additions
and
19 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
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
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
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
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