Re: Packaging optional, arch-dependent, pre-built libraries
Vincent Pelletier <[email protected]> Thu, 15 Apr 2021 00:56:29 +0000
| Newsgroups | gmane.comp.python.distutils.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============6687542114874477525== Content-Type: multipart/signed; boundary="Sig_/hbAK=iw_t.oh4.0GCtRFH26"; protocol="application/pgp-signature"; micalg=pgp-sha512 --Sig_/hbAK=iw_t.oh4.0GCtRFH26 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 14 Apr 2021 13:59:00 +0100, Filipe La=C3=ADns <[email protected]>= wrote: > On Sun, 2021-04-11 at 00:59 +0000, Vincent Pelletier wrote: > > Thanks for the pointer, I would love to use it. Unfortunately, this > > fails to install on 2.7: > > with > > =C2=A0=C2=A0=C2=A0 install_requires=3D( > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "importlib_resources<=3D4.0.= 0;python_version<'3.0'", > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "importlib_resources;python_= version>=3D'3.0' and python_version<'3.7'", > > =C2=A0=C2=A0=C2=A0 ), > Can you share in more detail how find_namespace is being used? Python 2.7= does > not support namespace packages, I'd say you probably don't really to use = them > anyway, putting a __init__.py in the target package folder and using the = find > directive instead should solve the issue. This seems to actually be brought by the too-recent zipp that "setup.py install" is fetching. "pip install ." works. --=20 Vincent Pelletier GPG fingerprint 983A E8B7 3B91 1598 7A92 3845 CAC9 3691 4257 B0C1 --Sig_/hbAK=iw_t.oh4.0GCtRFH26 Content-Type: application/pgp-signature Content-Description: Signature digitale OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE8a52rEyvQQl9Mmp91tK4CRgbyMAFAmB3jz0ACgkQ1tK4CRgb yMAV+A/9HamNVGIiCFSY9SAxmhisUAKsxEQPaPyRTPnhZF24Ic01jttfMZD77UWq RlV8hvtL2Lfs9ufH0MC/hBbJvIwu5H3XhQ9PucRzDRjx17ksMSvOt3WNi5+JIxRi gfzPIByuoYWP6EMZkVZO8lJWGt21DmrkyCCvUA8Pa/Cy8P9dvXKmOBg9QiqUx9+g 9UzqgURTD2Sb6PeVpubJHVbeYzFWqmTZ9itawVH6IuDig1SMgK/lYHRYQ71PU7Fa bRqNWLGL2OM7munUWEcBaDVpEOIHXgDEATOTygfgmvjh+XIec9apmg1t9Oh1j0Bm TYSYolxxHVYuWz5+s1RgFdNQWbvRS/PbS8ObRakZX9UZe+lgXF9TLyAszpFZL4EH hLH3cAO6s+bvOOvl26l29Gq4Rf9w7zcuxKcOXz9BLlV0mW72xL6BzED6MmR3aRV/ xoCS0/gAvZdSOgwLvg4JXRsIqWhWAPMF0TriLymWvsSEfFqE65w0e8Z8jOGxkD/W OaIztd41Ui8F54DFxpckrJUAMNfTAgR8gzYQmLb3/WRejpy3O2/gSLWXZvMGhHgG bgQ+VLSGe2UXgWZA8Ua1N8wdbRqIiqJZAxT9oM6KDFVKZ2WEO35Ew29KrpU79e2W AzwHQgZ8juY4W9QUm5yfFYT7jgVgfRkuelfB2tVBJxZU0+fixko= =VGy+ -----END PGP SIGNATURE----- --Sig_/hbAK=iw_t.oh4.0GCtRFH26-- --===============6687542114874477525== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- Distutils-SIG mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/distutils-sig.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/VQFDH4QAGQ3QOFKMQWAA4J2DLOUEIXPV/ --===============6687542114874477525==--