-
Notifications
You must be signed in to change notification settings - Fork 41
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
Migrate setup configuration to setup.cfg #31
Conversation
let's move away from reading # requirements.txt
-e . |
Umm, I'm confused how that would work. But are you saying that there's a relationship between the editable install and the requirements file? What does adding |
highly recommend this article: https://caremad.io/posts/2013/07/setup-vs-requirement/
exactly. that's the "right" place for a package to declare it's dependencies... and the "right" way to install a package after cloning it is probably |
@tlambert03 thanks for the details - I know they're very newbie questions. If I've understood you correctly, then these latest two commits should do it. |
Co-authored-by: Talley Lambert <[email protected]>
Co-authored-by: Talley Lambert <[email protected]>
Co-authored-by: Talley Lambert <[email protected]>
setup.cfg
.use_scm
insetup.py
.setup.cfg
doesn't support afile:
option for theinstall_requires
keyword, and it doesn't look like that'll be coming anytime soon, based on the discussion in this issue. So for our purposes I've kept the requirements reading in setup.pyI built a plugin locally and it worked as expected. I tried running tests locally but running the created plugin's tests failed with
I saw the same behaviour on master though so I think it must be something I'm doing wrong.
Addresses #26.