Re: build system

Grzegorz Bokota <[email protected]> Thu, 11 Jun 2020 13:59:04 +0200
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <CADUBGeTjT1kx7ok-j_+-65PO23u5YThUb49Jxca4wkUEe2_ULA@mail.gmail.com>
--0000000000008b0ab105a7cdb0e4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

You can see my project: https://github.com/4DNucleome/PartSeg/tree/develop

This is a PyQt based project which is available as a python package (wheels
built with cibuildwheel - https://github.com/joerick/cibuildwheel/).
Binaries are created with Pyinstaller for Windows/MacOS/Linux
(launcher.spec). Everything is built using Azure Pipelines.
So I have 3 configuration files (setup.py which is extended with setup.cfg
and pyproject.toml, launcher.spec - for binaries and docs/conf.py for
documentation. Last two assumest that the package is installed in the
environment using setup.py.

Grzegorz Bokota


czw., 11 cze 2020 o 13:46 Sa=C5=A1a Jani=C5=A1ka <[email protected]> napisa=
=C5=82(a):

> Hello,
>
> I plan to work on PyQt project (on Linux) using Cython to speed-up possib=
ly
> critical parts of my app as well as toprivde Python extension for the 3rd
> party
> C library whose source I'll include. Furthermore, I'll probably use
> rst/sphinx
> for docs (epub/html) and/or ConTeXt for producing PDF output. It would
> be nice to provide binaries/packages for MacOS/Windows as well as
> generating rpm/deb.
>
> After reading posts like https://www.bernat.tech/pep-517-518/ discussing
> package-related PEPs, I wonder what would be appropriate build system for
> such
> project, iow. whether setup.py can handle all of it or some general build
> system (CMake/SCons/Meson...) are recommended?
>
>
> Sincerely,
> Sasa
>
> --
> Abandoning all attachment to the results of his activities,
> ever satisfied and independent, he performs no fruitive action,
> although engaged in all kinds of undertakings.
>
>
>

--0000000000008b0ab105a7cdb0e4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>You can see my project: <a href=3D"https://github.com=
/4DNucleome/PartSeg/tree/develop">https://github.com/4DNucleome/PartSeg/tre=
e/develop</a></div><div><br></div><div>This is a PyQt based project which i=
s available as a python package (wheels built with cibuildwheel - <a href=
=3D"https://github.com/joerick/cibuildwheel/">https://github.com/joerick/ci=
buildwheel/</a>). Binaries are created with Pyinstaller for Windows/MacOS/L=
inux (launcher.spec). Everything is built using Azure Pipelines. <br></div>=
<div>So I have 3 configuration files (setup.py which is extended with setup=
.cfg and pyproject.toml, launcher.spec - for binaries and docs/conf.py for =
documentation. Last two assumest that the package is installed in the envir=
onment using setup.py. <br></div><div><br></div><div><div><div dir=3D"ltr" =
class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"lt=
r">Grzegorz Bokota<br></div></div></div><br></div></div><br><div class=3D"g=
mail_quote"><div dir=3D"ltr" class=3D"gmail_attr">czw., 11 cze 2020 o 13:46=
=C2=A0Sa=C5=A1a Jani=C5=A1ka &lt;<a href=3D"mailto:[email protected]">gour@=
atmarama.com</a>&gt; napisa=C5=82(a):<br></div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,2=
04);padding-left:1ex">Hello,<br>
<br>
I plan to work on PyQt project (on Linux) using Cython to speed-up possibly=
<br>
critical parts of my app as well as toprivde Python extension for the 3rd p=
arty<br>
C library whose source I&#39;ll include. Furthermore, I&#39;ll probably use=
 rst/sphinx<br>
for docs (epub/html) and/or ConTeXt for producing PDF output. It would<br>
be nice to provide binaries/packages for MacOS/Windows as well as<br>
generating rpm/deb.<br>
<br>
After reading posts like <a href=3D"https://www.bernat.tech/pep-517-518/" r=
el=3D"noreferrer" target=3D"_blank">https://www.bernat.tech/pep-517-518/</a=
> discussing<br>
package-related PEPs, I wonder what would be appropriate build system for s=
uch<br>
project, iow. whether setup.py can handle all of it or some general build<b=
r>
system (CMake/SCons/Meson...) are recommended?<br>
<br>
<br>
Sincerely,<br>
Sasa<br>
<br>
-- <br>
Abandoning all attachment to the results of his activities,<br>
ever satisfied and independent, he performs no fruitive action,<br>
although engaged in all kinds of undertakings.<br>
<br>
<br>
</blockquote></div>

--0000000000008b0ab105a7cdb0e4--