lmco / laikaboss

Laika BOSS: Object Scanning System
Apache License 2.0
732 stars 155 forks source link

Fixed broken pefile link #47

Closed estuart closed 7 years ago

estuart commented 8 years ago

This addresses issue #45

knowmalware commented 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

knowmalware commented 7 years ago

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
marnao commented 7 years ago

Fixed in #68