pkgsrc-Users archive

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

Re: url2pkg error when creating python package



On Tue, Sep 17, 2024 at 09:15:33PM +0530, Mayuresh wrote:
> On Tue, Sep 17, 2024 at 05:28:14PM +0200, Thomas Klausner wrote:
> > url2pkg has hit'n'miss support for Python packages.
> > In this case, it doesn't even include lang/python/wheel.mk.
> > 
> > You're better off copying and modifying a different Python package.
> 
> Thanks. Most working packages I thought of following use egg.mk instead of
> wheel.mk. pkgsrc guide doesn't mention about egg. Can you please help with
> wheel vs egg difference?

egg.mk is the obsolete version, use wheel.mk.  You'll probably need
TOOL_DEPENDS on py-setuptools and py-wheel (but some packages use
flit_core or other tools instead) - read pyproject.tom/setup.py and
you'll see.
 Thomas


Home | Main Index | Thread Index | Old Index