isislovecruft / python-gnupg

A modified version of python-gnupg, including security patches, extensive documentation, and extra features.
Other
424 stars 172 forks source link

Incorrect shebang for __init__.py #184

Closed NicoHood closed 7 years ago

NicoHood commented 7 years ago

python2-gnupg E: Dependency python detected and not included (programs ['python'] needed in scripts ['usr/lib/python2.7/site-packages/gnupg/init.py'])

When installing python-gnupg with setuptools the shebang needs to be changed for each python version.

sigmavirus24 commented 7 years ago

I'm actually surprised there's a shebang even there. That should probably not even exist.

NicoHood commented 7 years ago

Also setuptools produce /usr/bin/versioneer.py which is available for python2 and 3. It seems that this is only required at packaging time and should not exist in the final package. But I am not sure about this. Maybe this needs to be fixed as well.

isislovecruft commented 7 years ago

Fixed in the next version (2.3.2). Thanks for the report!