apk-signature-verify icon indicating copy to clipboard operation
apk-signature-verify copied to clipboard

Import metadata without calling package __init__

Open krokofant opened this issue 6 years ago • 1 comments

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.

krokofant avatar Dec 27 '18 23:12 krokofant

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 😃

subho007 avatar Sep 23 '19 20:09 subho007