-
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
[install] How to use requirements.txt correctly #172
Comments
@formatc1702 wrote in #153 (comment):
I read the same post yesterday that you link to, and I concluded there are different opinions about the reason behind
I will update both files when that is your request, even though I don't like this double specification of the exact same information. A new issue is a good idea, and I will probably create that later today. Originally posted by @kvid in #153 (comment) @formatc1702 anwered in #153 (comment): Yes, probably there are two of these views in our source code right now, clashing. I think the first argument, of removing Originally posted by @formatc1702 in #153 (comment) |
The redundancy part of this issue was also discussed by @gstein and @n42 in PR #58.
I hope these contributors (and others) can comment my conclusions in this issue. I vote for removing the conflict between I would also like an answer to the question: Who needs installing everything needed for module development without installing the wireviz module itself? Why not just install the module using |
I view IMO, I have no voice here, as I have little contribution. I like the clarity of Thank you for asking! |
As requested by the owner, it is added to both requirements.txt and setup.py - see also issue wireviz#172 about a possible redundancy/conflict.
The current contents of
requirements.txt
have some issues.@formatc1702 wrote:
I have implemented your request, but after testing it, I have some questions:
Why do you want the run-time dependencies both in
requirements.txt
and insetup.py
when the latter seems to be enough?requirements.txt
contains.
, and that means, AFAIK, thatsetup.py
is executed to find dependencies specified there, and then adding the same dependencies again from the remaining lines ofrequirements.txt
will not change anything.requirements.txt
containssetuptools
, but if that is not already installed before runningpip install -r requirements.txt
, then it will fail runningsetup.py
when processing the first line containing.
.setuptools
above the.
inrequirements.txt
will still fail ifsetuptools
is not already installed, probably because all dependencies are processed before running any installation.requirements.txt
in the repo at all? it does not seem to be used by the project installation instructions. Maybe the installation instructions should have an initialpip install setuptools
to make sure that is installed before runningsetup.py
?Originally posted by @kvid in #153 (comment)
The text was updated successfully, but these errors were encountered: