tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: python as a tool ?
Hi,
Manuel Bouyer <bouyer%antioche.eu.org@localhost> writes:
> Hello again,
> I'm working on a package which stops with:
> -- Could NOT find Python3 (missing: Python3_EXECUTABLE Interpreter)
> -- Packing libraries before installation
> CMake Error at CMakeLists.txt:60 (message):
> Python3 not found. Cannot pack symbol libraries.
> Call Stack (most recent call first):
> CMakeLists.txt:128 (pack_all_libraries)
>
> It actually wants to run a python script in the build phase.
> AFAIK it doens't need it as a runtime dependancy.
>
> We can do e.g.
> USE_TOOLS+= perl:build
>
> but it seems USE_TOOLS doens't supports python.
>
> What would be the best way to handle this ?
> In this specific case, a runtime dependancy on python isn't that bad as
> this package (kicad-symbols) is useless without kicad, which has a runtime
> dependancy on python.
If you include lang/python/tool.mk, python3 symlink will be created
like imaginary USE_TOOLS+=python:build.
Thank you.
> --
> Manuel Bouyer <bouyer%antioche.eu.org@localhost>
> NetBSD: 26 ans d'experience feront toujours la difference
> --
--
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index