jdk4py icon indicating copy to clipboard operation
jdk4py copied to clipboard

Support installation as a source distribution

Open GorgiAstro opened this issue 1 year ago • 0 comments

I am looking for a way to use my forked jdk4py (for new features which are not merged in the main repo yet, for instance my pull request https://github.com/activeviam/jdk4py/pull/65 ) in the project I am working on which depends on jdk4py. Cloning and building locally with pip install . works of course, but for deployment purposes I am looking for a way to have my project depend on my github fork and not on my local jdk4py installation.

The only way I found (except setting up my own test PyPi package with my forked jdk4py) to use my forked version is to tell pip to use my forked github repo: jdk4py @ git+https://github.com/GorgiAstro/jdk4py/. But this installs jdk4py as a source distribution and the java-runtime folder is missing because the build_jdk.py script is not called.

Is it possible to add an option to poetry to trigger build_jdk.py when the user installs jdk4py as a source distribution? I guess it's not hard but I have too little experience with poetry.

GorgiAstro avatar Dec 10 '23 16:12 GorgiAstro