Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make tool pip-installable #3

Closed
corneliusroemer opened this issue Mar 14, 2022 · 4 comments
Closed

Make tool pip-installable #3

corneliusroemer opened this issue Mar 14, 2022 · 4 comments

Comments

@corneliusroemer
Copy link

Shouldn't be difficult, you need a setup.py and account of Pypi

You can have a look at this repo of mine that can be installed via Pypi as a command line tool (if you install it, the command becomes automatically available in Path!)
https://github.com/corneliusroemer/fasta_zstd_sqlite/blob/master/setup.py

@lenaschimmel
Copy link
Owner

That sounds like a great idea! I will probably do it soon(ish).

I think I want to read a bit about distutils and setuptools first so that I understand what I'm actually doing.

@corneliusroemer
Copy link
Author

This would be so useful! It's really not hard ;)

@lenaschimmel
Copy link
Owner

I just added a setup.py but then I realized that sc2rf needs some data files to run, which is possible.

It may also modify one of those data files at runtime (virus_properties.json), which is a problem. So it's not as trivial as I hoped it would be. I think I have to leave it in this half-baked state for a short while…

@corneliusroemer
Copy link
Author

Is it now on pypi? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants