AdmiralenOla / Scoary

Pan-genome wide association studies
GNU General Public License v3.0
147 stars 35 forks source link

Making Scoary pip installable #35

Closed andersgs closed 8 years ago

andersgs commented 8 years ago

Create a setup.py to make Scoary pip installable.

So, a user could install globally with:

pip install git+https://github.com/AdmiralenOla/Scoary.git

Making scoary available in the PATH.

Or for local install:

pip install --user git+https://github.com/AdmiralenOla/Scoary.git

Or for local plus specifying location:

pip install --user --install-option="--install-scripts=$HOME/bin" git+https://github.com/AdmiralenOla/Scoary.git

This creates an executable scoary, that can be called from anywhere.

Made fixes to the methods.py so that --test will work.

Added MANIFEST.in so that the exampledata folder is installed, and made available to --test. Moved the exampledata folder to scoary/exampledata to allow proper install with the package, and then access through Python package_resources API.

The main scoary.py script would be deprecated.

Added metadata to setup.py that you may want to edit.

Best. Anders.

AdmiralenOla commented 8 years ago

Many thanks! Great stuff. I've been wanting to make Scoary installable through pip for a while now. I've edited the metadata and added filtration options to the log, so I'll be closing this pull request.