Jinmo / idapkg

Packages for IDA Pro (written in python but supports all)
MIT License
131 stars 16 forks source link

Dependency issue #2

Closed Jinmo closed 5 years ago

Jinmo commented 5 years ago

Normally, the author can bundle native libraries as dependencies, but it'll occupy space too much when it comes to python plugin. So I was just thinking about virtualenv-based python package management. Here's some problems:

1. pip doesn't support in-process packaging

So pip recommends programmers to call pip as separate process. IDA uses python interpreter installed into system, so maybe I can find and use the interpreter by determining python.dll used in the process. (sys.executable is set to ida.exe in IDAPython. This breaks virtualenv calls in IDAPython)

Solved.

2. Versioning

I think that PEP440 or semantic versioning would be good.

Jinmo commented 5 years ago

Closing this, not gonna support this for now since installer scripts can do this. (It can do os.system("pip"))