Closed tseemann closed 7 months ago
I just made a setup.py file and a new release of Kaptive (v0.5.1). Pip installing should now work:
pip3 install --user git+https://github.com/katholt/Kaptive
kaptive.py -h
I used scripts=['kaptive.py']
in the setup.py file, which means that it simply copies the kaptive.py
file to your installation directory. It doesn't install the reference databases anywhere, so you'll need to download those separately from here.
The alternative is to rearrange the Kaptive repo into a proper Python module, use entry_points
in the setup.py file and install the databases as well. This would:
I'm inclined to leave Kaptive as it is (simple Python script), but I'm open to suggestion here. If you think the advantage of point 1 outweighs the disadvantage of point 2, I'll consider turning Kaptive into a proper module.
Ryan
@rrwick that works, thanks.
I think what I really mean is add it to pypi
The problem with git versions is that pip3 list --outdated
never shows it
and pip3 install --upgrade kaptive
doesn't work.
Done in #30 https://pypi.org/project/kaptive
Any chance you could use @andersgs template from
Kleborate:development
to also make this installable bypip2
command?Would help package it in Bioconda and Brew.