python-setuptools: use pypi package

The releases on Github produces a setuptools version that isn't PEP518
compliant because a .post number is attached to the .egg file
(IE: 40.0.0.post20180820) which can cause a python package using setuptools
to fail if looking for a setuptools version.

Instead, using the official release from pypi is recommended as it does not
produce a  .post version on the egg file.

Another benefit is not having to run bootstrap.py either.

See https://github.com/pypa/setuptools/issues/1462 for more details about
the issue

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Adam Duskett
2018-09-21 11:01:50 -04:00
committed by Thomas Petazzoni
parent 007b94d064
commit df7d89ed10
2 changed files with 15 additions and 10 deletions

View File

@@ -1,3 +1,4 @@
# Locally calculated
sha256 327e232b1809c9481256408fe9233bcf6a27f9f63ddbbadc526f451e5027aad5 python-setuptools-v40.0.0.tar.gz
# From https://pypi.org/pypi/setuptools/json
md5 260630ae1a64bafa39dcc53404d63829 setuptools-40.0.0.zip
sha256 012adb8e25fbfd64c652e99e7bab58799a3aaf05d39ab38561f69190a909015f setuptools-40.0.0.zip
sha256 c32a3ac395af6321efd28be73d06a00f0db6ab887d1c21d4fec46128d2056d5a LICENSE