Interesting, I notice that now the python scripts are no longer installed in a
way where you can find or grep them.

In /usr/local/bin, I get "EASY-INSTALL" shims like

  #!/usr/bin/python2
  # EASY-INSTALL-SCRIPT: 'osmopython==0.0.6','osmotestvty.py'
  __requires__ = 'osmopython==0.0.6'
  __import__('pkg_resources').run_script('osmopython==0.0.6', 'osmotestvty.py')

and in /usr/local/lib/py*, all I get is "egg" files which appear to be zip
balls of the actual python scripts.

Actual error messages refer to the file inside the zip egg:

>   File 
> "/usr/local/lib/python3.6/dist-packages/osmopython-0.0.6-py3.6.egg/osmopy/obscvty.py",
>  line 179, in _common_command
>     self.socket.send("%s\r" % request)
> TypeError: a bytes-like object is required, not 'str'

I liked to have the scripts in plain sight, I doubt that zipping some py script
has any benefits that outweigh unzipping cost ... but I guess it's bearable when
aware of this.

~N

Attachment: signature.asc
Description: PGP signature

Reply via email to