-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
fix loading pkg while setup #71
Conversation
@Borda i hadn’t noticed the requirements change.
|
yeah... just googled and what i mentioned looks correct: so, i’d rather go back to this setup with setup.py having the actual deps needed and requirements.txt having dev requirements. is there an actual reason not to do this other than personal preference? |
and confirmed again here. https://packaging.python.org/discussions/install-requires-vs-requirements/ |
#71 (comment) the variable requirements contains all packages from
for example |
@Borda rolled back the setup.py changes. not sure this fixes the issue, but the package installed fine before when it was setup this way. I want to keep the project simple and easy to read for researchers, it wasn't obvious what was happening before. I also want to get back to moving features forward not engineering the package more. Once the install is fixed, I don't want to mess around with CI, setup.py, etc... anymore, don't have the bandwidth to fix issues I already dealt with months ago. The package was already stable and ready for new features :) |
Sure, I agree, I just tried to fix some hidden/potential issues, the
Sure, you may leave the CI issues to me... and focus on features :) |
I'm sorry to be a stickler about this, please keep requirements.txt and setup.py separate. i don't remember if memory was needed for dev or actual install. (pandas in needed by test-tube so it would get installed automatically). In fact that's even how PyTorch officially does it: setup.py installs each dep listed AND all of their deps... |
your package |
@Borda like i said, test-tube requires pandas... it gets auto-installed. |
btw, pls, squash this PR before merging... :) #60 (comment) |
I just noticed the fancy squash button option haha :) PS. just installed this branch in a conda env from scratch and it works fine. looks fixed now i guess?
|
fix loading package while setup #56
simple testing