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

Prepare GR for release #91

Open
mdozmorov opened this issue Jul 26, 2015 · 0 comments
Open

Prepare GR for release #91

mdozmorov opened this issue Jul 26, 2015 · 0 comments

Comments

@mdozmorov
Copy link
Owner

We need to create a new repository 'genome_runner_web' for release. The current one has several Mb of unneeded stuff.

Remove "developer mode" of installation.

Tidy up command line arguments in the scripts, remove unnecessary ones.

Cory's advice:
I would strongly suggest that users not have to directly do "python -m grsnp.hypergeom4 ....". You can wrap this in an executable script. Having a module named hypergeom4 is bad enough, but when you publish that API, you make it so that you cannot change it ever. It could be as simple as:

File name: genome-runner
Content:

!/usr/bin/env bash

python -m grsnp.hypergeom4 "$@"

Alternatively, you can look into the "console_scripts" argument to setup.py, which can install any of your python functions as a script automatically when the package is installed. This comment also applies to other stages of the process, like "python -m grsnp.optimizer ...". Another way of doing it would be a master script, called genome-runner, which would take as a first argument the command to be performed. So it would be called like,

$ genome-runner optimize

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

1 participant