apk-signature-verify
apk-signature-verify copied to clipboard
Import metadata without calling package __init__
Solution https://stackoverflow.com/a/16084844/3951400
The previous solution was not enough since the init.py file will be called everytime something is imported normally from the package.
Another solution to this would be to put the metadata py-file outside of the package folder but this would require messy code for importing the py file from the parent folder.
Why have a metadata.py
file at all? One can directly have those value in setup.py
. I have to fork and host it in my pypi
so that this works.
You can get a reference here: https://github.com/appknox/apk-signature-verify/commit/a42b7d0175a76b816bd65edc62b93a8423a77d34
@shuxin any plans on fixing this and putting it in pypi? Unless this is done, people cannot use/install your wonderful project 😃