-
Notifications
You must be signed in to change notification settings - Fork 233
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
Update requirements.txt #58
Conversation
The "graphviz" Python module is required. Clarify that within the requirements. (the graphviz/dot commands are needed at the OS level, but that can't be fixed here)
That's quite a fair question, and I see that pyyaml is in For example: |
(honestly, I didn't even stop to look into setup.py ... I always go to requirements.txt first :p ) |
A difference is iirc that requirements.txt is mainly useful in that it's easily human-readable and can be used for explicitly installing only the dependencies, which might be useful for using packages without installing them first. Pip/setuptools will use what's listed in setup.py as required dependencies and install them automatically if you use that to install the package. |
It doesn't hurt anything to use both methods, but I'd suggest adding the pyyaml dep in the reqs file as well if you want to use that. |
So it's fine to have in both places? I'll just add two lines into |
Yeah, perfectly fine. There should be a way to have setup.py parse requirements.txt instead of having multiple places to define them as well, but I seem to recall something about pip version fuckery wrt that. I'll look into it when I'm at an actual computer. |
Cheers! I'll wait until then, I don't see this as a super urgent issue. |
shift the pyyaml dependency out of setup.py to requirements.txt
Agree: not urgent. Per discussion, I've included |
Merged and closed for now. If we want to update |
The "graphviz" Python module is required. Clarify that within the requirements.
(the graphviz/dot commands are needed at the OS level, but that can't be fixed here)