-
Notifications
You must be signed in to change notification settings - Fork 216
prepend to $PYTHONPATH or $EBPYTHONPREFIXES in generated module files by automatically scanning for Python site package directories (as configured via prefer-python-search-path)
#4539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 24 commits
27c32ef
4652509
1acb45a
d1c889f
0310bed
a1e4ecc
4ed16be
9f3cf6a
037827b
38da36b
46a52df
fb51411
a064006
d281fc8
11cffaa
f90a12b
1d78e6c
7b7a59f
dc488f5
7e417d3
9813bc8
206736e
5eb6d07
835e63c
76fec7b
11f132e
c3b5011
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1105,15 +1105,19 @@ def filter_deps(self, deps): | |
|
|
||
| return retained_deps | ||
|
|
||
| def dependencies(self, build_only=False): | ||
| def dependencies(self, build_only=False, runtime_only=False): | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can't we have either an "enum" Maybe we should at least rename to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's follow up on that in a separate PR, I want to get this PR merged ASAP. Maybe open an issue for it, so we can tag it with |
||
| """ | ||
| Returns an array of parsed dependencies (after filtering, if requested) | ||
| dependency = {'name': '', 'version': '', 'system': (False|True), 'versionsuffix': '', 'toolchain': ''} | ||
| Iterable builddependencies are flattened when not iterating. | ||
|
|
||
| :param build_only: only return build dependencies, discard others | ||
| :param runtime_only: only return runtime dependencies, discard others | ||
| """ | ||
| deps = self.builddependencies() | ||
| if runtime_only: | ||
| deps = [] | ||
| else: | ||
| deps = self.builddependencies() | ||
|
|
||
| if not build_only: | ||
| # use += rather than .extend to get a new list rather than updating list of build deps in place... | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.