sashs / filebytes

Library to read and edit files in the following formats: Executable and Linking Format (ELF), Portable Executable (PE), MachO and OAT (Android Runtime)
https://scoding.de/filebytes-introduction
BSD 3-Clause "New" or "Revised" License
126 stars 25 forks source link

python3.5 install trouble #21

Open jackschmidt opened 5 years ago

jackschmidt commented 5 years ago

Both pip3 install filebytes and python3.5 setup.py install --user install the package as UNKNOWN-0.9.21 instead of filebytes-0.9.21 which means packages that depend on this one don't find it.

This can be reproduced in an ubuntu:16.04 docker image.

jackschmidt commented 5 years ago

The problem seems to be the version of setuptools shipped in ubuntu 16.04 (setuptools-20.7.0). Upgrading to setuptools-41.6.0 with pip install --upgrade setuptools allows filebytes to be installed (with python3.5 setup.py install or pip3 install filebytes).

Perhaps a warning could be added to the readme about the requirement of a non-ancient setuptools? (16.04 seems still common if only to show flaws in glibc-2.23).

sashs commented 4 years ago

Hey, sorry for the late reply. I totally forgot to answer your question. Yes, adding a warning sounds legit.