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

Add SIFT script to python package installation #282

Merged
merged 53 commits into from May 20, 2020

Conversation

djhoese
Copy link
Member

@djhoese djhoese commented Mar 3, 2020

This PR adds an entry_point to the setup.py file so when the uwsift package is installed in an environment a bin/SIFT script will be made available to start SIFT.

This is the first step in producing a conda-pack tarball for linux-installations. The current instructions (not in the official docs yet) are:

conda-pack --arcroot SIFT_1.1.2 --output /tmp/SIFT_1.1.2.tar.gz

with a valid conda environment already activated. Note uwsift must be installed with pip install --no-deps instead of the more typical development environment install of pip install -e .. The important part is the -e. Doing it this way actually moves the uwsift files to the python environment instead of just linking them.

Once we have this tarball we can then do the following to install it on another system:

tar -xzf SIFT_1.1.2.tar.gz
source SIFT_1.1.2/bin/activate
SIFT ...

CC @katherinekolman Could you test this branch and build instructions on your Mac?

@djhoese djhoese self-assigned this Mar 3, 2020
@djhoese
Copy link
Member Author

djhoese commented May 20, 2020

We've waited long enough, let's merge this. @katherinekolman can continue work on understanding the matplotlib test failure in #286.

@djhoese djhoese merged commit b6836e6 into ssec:master May 20, 2020
@djhoese djhoese deleted the feature-conda-pack branch May 20, 2020 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants