[Slackbuilds-users] Package a pip only module

fourtysixandtwo fourtysixandtwo at sliderr.net
Sun Jan 15 05:27:28 UTC 2023


Hi Tonus,

You need to check the pyproject.toml build-system section to figure out
which new method is needed.  In this case you need to add 3 deps and the
following lines instead of the setup.py one.

#add to REQUIRES
python3-build python3-installer wheel

#to the slackbuild
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl

Cheers!

On Sat, Jan 14, 2023 at 7:06 PM Tonus <tonus1 at free.fr> wrote:

> Hi everybody,
>
> I'm looking on a satisfying process to package pytest-asyncio (
> https://github.com/pytest-dev/pytest-asyncio).
> I'm a bit stuck since there's no setup.py I'm used to in the sources.
> Could someone kindly point me in some direction ? Even a SlackBuild
> achieving similar task ?
>
> Many thanks
>
> Regards
>
> Tonus
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20230114/78f333fc/attachment.htm>


More information about the SlackBuilds-users mailing list