witty-crayon-22786
01/07/2019, 8:55 PMprovides=setup_py(..)fierce-park-88503
01/14/2019, 10:24 PMFAILURE: No exported target owner found for PythonLibrary(BuildFileAddress(3rdparty/python/BUILD.pants, enum34))fierce-park-88503
01/14/2019, 10:25 PMpython_library(
sources=['the_thing.py'],
dependencies=[
'3rdparty/python:enum34',
'3rdparty/python:numpy',
],
provides=setup_py(
name='name-of-package',
version='0.0.1',
)
)fierce-park-88503
01/14/2019, 10:26 PM./pants setup-py --setup-py-run="bdist_wheel" src/python/the/thingfierce-park-88503
01/14/2019, 10:52 PMis_third_party, which seems like it would resolve this issuefierce-park-88503
01/14/2019, 10:53 PMis_third_party I can find in the repo…witty-crayon-22786
01/14/2019, 10:54 PMisinstanceof(..., PythonRequirements), iirc.witty-crayon-22786
01/14/2019, 10:54 PMfierce-park-88503
01/14/2019, 10:56 PMpython_library with a single dependency) on the “actual” 3rdparty requirementwitty-crayon-22786
01/14/2019, 10:56 PMfierce-park-88503
01/14/2019, 10:56 PMwitty-crayon-22786
01/14/2019, 10:56 PMwitty-crayon-22786
01/14/2019, 10:57 PMtarget(..) or alias(..)fierce-park-88503
01/14/2019, 10:57 PMpython_library(
name='enum34',
dependencies=['3rdparty/python/enum34'],
)witty-crayon-22786
01/14/2019, 10:57 PMalias(..) will work in this case, because it's rewritten in the build graphfierce-park-88503
01/14/2019, 10:57 PMwitty-crayon-22786
01/14/2019, 10:58 PMwitty-crayon-22786
01/14/2019, 10:58 PMalias(..) in particularfierce-park-88503
01/14/2019, 10:58 PM