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

Installing non-"piped" packages through pip install? #32

Closed
beniroquai opened this issue Jan 26, 2023 · 5 comments
Closed

Installing non-"piped" packages through pip install? #32

beniroquai opened this issue Jan 26, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@beniroquai
Copy link
Collaborator

When installing this repo from source, a few dependencies are missing. How can we ensure they are getting installed properly (asking for a friend :D @AZehrer)..

One example:
https://github.com/openUC2/ImSwitch/blob/master/setup.cfg#L64

CC: @renerichter @kasasxav

@beniroquai beniroquai added the bug Something isn't working label Jan 26, 2023
@kasasxav
Copy link
Collaborator

kasasxav commented Jan 29, 2023

I don't really know the answer to this one sorry :L I would say either doing it manually after or maybe doing the .whl and then adding the file in the repo, or the repo itself (https://stackoverflow.com/questions/7813030/how-can-i-have-linked-dependencies-in-a-git-repo). Not ideal though and it will be a bit messy, maybe someone else has a better approach?

@beniroquai
Copy link
Collaborator Author

That's a good start. I have tried several formulations in the setup.cfg, but it seems it's an OS/version-dependent issue. That makes it difficult ;-)

@renerichter any thoughts on this? :)

@renerichter
Copy link

@beniroquai you mean that commented packages exist that shall rather be uncommented? Or do you mean that when uncommenting these packages in setup.cfg installation breaks? How about adding e.g. a conda installation recipe which the user could easily invoke afterwards?
Finally, a batch-script could be created which does an auto-installation, but this is tedious to maintain for different OS and versions of many toolboxes.

@beniroquai
Copy link
Collaborator Author

What I mean is this (already outcommented) line: https://github.com/openUC2/ImSwitch/blob/master/setup.cfg#L61
In best case, we have this in the setup.cfg. It pulls packages from github/gitlab and installs it similar to pypi packages. Makes sense?
Agree, bash scripts are cumbersome..

1 similar comment
@beniroquai
Copy link
Collaborator Author

What I mean is this (already outcommented) line: https://github.com/openUC2/ImSwitch/blob/master/setup.cfg#L61
In best case, we have this in the setup.cfg. It pulls packages from github/gitlab and installs it similar to pypi packages. Makes sense?
Agree, bash scripts are cumbersome..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants