-
Notifications
You must be signed in to change notification settings - Fork 9
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
Optional dependencies #22
Comments
Hi @ojaace! Thanks for taking up this issue. I fully agree with you, it is completely unnecessary to install anything related to Jupyter with pyroSAR so it is a good idea to separate it in |
Okay, just saw that |
I have now re-added |
Thanks a lot for looking into this! It will help a lot with the dependencies! I haven't had time to test it yet, but I expect there will be no problems. |
I've been trying to use SNAP in containers lately. The PyroSAR interface is quite handy. However, there is no need to install the entire Jupyter stack with all its dependencies. It really bloats the container.
I saw the following issue in the PyroSAR repository: johntruckenbrodt/pyroSAR#140
What needs to be done to make this split of dependencies happen?
Is the following modification of
setup.py
all that is needed?I am new to Python packages, and I'm using Python Poetry to handle my own dependencies. Because of this, I'm not very sure of how
setup.py
works.With the above modification, I am able to install PyroSAR with Python Poetry with this in my
pyproject.toml
where the local path is just this git repository with the modified
setup.py
.The text was updated successfully, but these errors were encountered: