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

setup script doesn't work when installing package via pip #89

Open
alastair opened this issue May 29, 2019 · 4 comments
Open

setup script doesn't work when installing package via pip #89

alastair opened this issue May 29, 2019 · 4 comments
Assignees
Labels
Bug Something is not working

Comments

@alastair
Copy link
Collaborator

For dunya, we install the source package of tomato into our own pypi mirror and install it with pip. We seem to be running into some issues with the custom install class (related to #22?). Specifically:

  • installing dependencies as a subprocess means that pip can't automatically manage them. This means that if I specify exact versions of packages in my requirements file, tomato install will overwrite them. This could be fixed by putting the dependencies in install_requires
  • tomato installs jupyter as a dependency. This isn't strictly needed as a dependency to run the algorithms in the package. I would prefer that this wasn't installed when installing only the package,
  • pip runs setup.py bdist_wheel and then installs the wheel instead of calling setup.py install, which means that the custom install class isn't used, and packages aren't downloaded. Perhaps this could be fixed by overriding a different install stage so that binaries are downloaded during the build stage?
@sertansenturk
Copy link
Owner

sertansenturk commented May 30, 2019 via email

@alastair
Copy link
Collaborator Author

We're happy to make the changes ourselves, if you make me an admin on the project then I'll work with Miguel to make the changes.

@sertansenturk
Copy link
Owner

Ok I've added you to the collaborators, which should give you push access (supposedly Miguel already has that enabled).

I think it should suffice for your to have access, bit please let me know if you need something extra)...

@sertansenturk sertansenturk added this to Backlog in test tomato Kanban Dec 15, 2019
@sertansenturk sertansenturk added the Bug Something is not working label Dec 15, 2019
@sertansenturk
Copy link
Owner

Hi @alastair,

Had some time to play with the code over Christmas holidays. I think the current dev branch has this problem fixed.

If you can confirm, I can close this issue.

@sertansenturk sertansenturk self-assigned this Jan 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is not working
Projects
No open projects
Development

No branches or pull requests

2 participants