Closed estuart closed 7 years ago
I suggest using the archive from the official repo on github: https://github.com/erocarrera/pefile/archive/pefile-1.2.10-139.zip
You forgot to change the sha256 and the other references to the tarball. If it is easier, use the tarball URL instead of the ZIP url: https://github.com/erocarrera/pefile/archive/pefile-1.2.10-139.tar.gz
I also just tried installing from that URL, and looks like the version variable is not being set properly. I suggest adding these lines right before you unpack the tarball:
cat pefile.py | sed 's/^__version__ = .*$/__version__ = "1.2.10-139"/' > pefile-fixed.py
mv pefile-fixed.py pefile.py
Fixed in #68
This addresses issue #45