tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Questions regarding python scripts



Georg Schwarz <georg.schwarz%freenet.de@localhost> writes:

>> I would suggest first reading the upstream build instructions and
>> installing the package manually by folowing the instructions.  That's
>> your baseline and the question is how to change it for pkgsrc.
>
> good point. The software is quite clever and draws the installation
> path from the python installation (it uses a python script for
> installation), so it directly installs into ${PREFIX}/bin etc.
> It also installs into ${PREFIX}//lib/python3.8/site-packages (since I'm using python 3.8).

> What's the correct way of listing such files in PLIST?

The standard approach is to run 'make print-PLIST' and start with that.
And then to look at other packages that might be similar.

> I guess there are some Python-related variables that can and should be used?

Look at ${PYSITELIB}

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index