proud-dentist-22844
06/19/2022, 7:05 AMpython_distribution
in the StackStorm repo... 😰
I've got the targets setup, a plugin to configure setup.py kwargs, and macros to reduce a bit more of the boilerplate. So far so good.
But, I'm struggling with dependencies
for the `python_distribution`s. In the old/manual setup.py (that I want to avoid because of so much copy paste, including copies of dist_utils
functions... ick), it just used packages=find_packages(exclude["setuptools", "tests"]),
to get the single package in that directory. Do people often have to add dependencies to all of the sub directories? I keep getting NoOwnerError: No python_distribution target found to own
<some file or other that changes every time>.
Is there a way to force pants to build incomplete wheels? I want to see what it has so far, but it seems I have to have all of the inter-dependent packages configured first.curved-television-6568
06/19/2022, 7:10 AMproud-dentist-22844
06/19/2022, 7:29 AMcurved-television-6568
06/19/2022, 7:46 AM“”"Find the exported target that owns the given target (and therefore exports it).
The owner of T (i.e., the exported target in whose artifact T’s code is published) is:
1. An exported target that depends on T (or is T itself).
2. Is T’s closest filesystem ancestor among those satisfying 1.
If there are multiple such exported targets at the same degree of ancestry, the ownership
is ambiguous and an error is raised. If there is no exported target that depends on T
and is its ancestor, then there is no owner and an error is raised.
“”"
curved-television-6568
06/19/2022, 7:48 AMcurved-television-6568
06/19/2022, 7:49 AMproud-dentist-22844
06/19/2022, 7:57 AMproud-dentist-22844
06/19/2022, 7:59 AMcurved-television-6568
06/19/2022, 7:59 AMhappy-kitchen-89482
06/19/2022, 4:17 PMhappy-kitchen-89482
06/19/2022, 4:17 PMproud-dentist-22844
06/20/2022, 3:56 AMhappy-kitchen-89482
06/20/2022, 9:01 AMhappy-kitchen-89482
06/20/2022, 9:02 AM