Date: Sun, 8 Dec 2019 15:23:49 +0000 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-ports@freebsd.org Subject: Re: python distutils without setup.py? Message-ID: <680f347e-6fd5-adbb-4751-4827eefe03ac@FreeBSD.org> In-Reply-To: <df1ca1ba-9648-1d69-fd2a-7c63f347c4b4@FreeBSD.org> References: <df1ca1ba-9648-1d69-fd2a-7c63f347c4b4@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --FTv90jwbaTWR8pL2kl2tNwp7DfqVh7s7a Content-Type: multipart/mixed; boundary="11z7YEIkSZQWB81P07PcKTZWak6rBY3W0" --11z7YEIkSZQWB81P07PcKTZWak6rBY3W0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 05/12/2019 07:36, Matthew Seaman wrote: > There's a comment in the ChangeLog: >=20 > * Fully depend on Pip having PEP 517 implementation #607 >=20 > and the associated merge: >=20 > https://github.com/ansible/ansible-lint/pull/607/files >=20 > has the removal of setup.py. The docs now say that to install from > source, you should run: >=20 > pip install git+https://github.com/ansible/ansible-lint.git >=20 > Do we have support in the ports for python modules setup in this way? > Is there a similar example I can copy from? On further investigation, it seems that the new shiny as far as python module configuration is PEP-517 and PEP-518 support: https://www.python.org/dev/peps/pep-0517/ https://www.python.org/dev/peps/pep-0518/ which makes pip the standard for installing from a SCM system or a checked out directory tree. Looks like only a few modules have adopted this as yet, but it should become a lot more common over time. Before I leap into this with both feet, is anyone already working on support for pep517 in the ports? Cheers, Matthew --11z7YEIkSZQWB81P07PcKTZWak6rBY3W0-- --FTv90jwbaTWR8pL2kl2tNwp7DfqVh7s7a Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAl3tFYVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp 5OefHQ//TlZY4MRstwP4aNPZWtvkPLFJbStsU7NSEcZQnpGVzWHaqLNQ32C+Qnxv XShpbcw6L9C6ZUixygEO+URPew9e2x2RxluQa0KQZvGU6o44urIcJWO31v/SKvMM pj/5khTl0eKytt23OmxGJXqOLq3Ha1aK1KXqkSPcSQbpY61u2vQB6Wv07EjUNQvF ZtcoCx1jV4QJfI8cA86/Fjh5vyJi6DrfjbfEELTCNU+RVVUq4LSsPOodoW5g/Uom 8amhiwZN2O2QW90UXy6XZWartSyImJIrwB1Sh8WzJqU9iUzOYEFEzz5WL1wKeaag VbqB+SnDZ533ym7Dzz7xKYtTX9Hf1XIIsBUjaqEh/Npo0IY7CbUtK+kEakDYbtIH U1gmaIUTmOX0EDABqxhIGQTYjTiOnnOPEeinh9rdkUq6SaRJAY4AG+Qu51tSO/xr PY2ZTnKRs+k1jz2ZkaC5J8ezGhSvG70NJRzl7Dwavssm9rE/O1GgMf8ynENQGTiD FMEkU6PpUG05KPAEWevBDCvEt9yuTLgw2f8LfpuTxdEpL3BjtAftYxTdGcBZ1KwY 1tRmnCnDVRMW0z1hW0cX9FEU00tNZuxFQuABP+lOC+hUN1su5lVUREyoIH8mqJ2O eE6h2l/iqpdXkdYORrgV61i+316OxUgE5KBP/OL74jr/dV2tRl0= =pcZi -----END PGP SIGNATURE----- --FTv90jwbaTWR8pL2kl2tNwp7DfqVh7s7a--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?680f347e-6fd5-adbb-4751-4827eefe03ac>