Hi Yan! Thanks for replying! To hopefully quickly answer: On Sun, Jan 4, 2015 at 6:15 AM, Yan Yi <[email protected]> wrote:
> Thanks so much for your reply Asheesh - you even took the time to record a > screencast! > > Quick questions about your installation workflow: > Why did you run pip install --editable scrapy, run several tests and > install dependencies? > > Can we just: > 1. fork the project > 2. pip install requirements.txt to install python dependencies > 3. run setup.py > > Also, in C++ when we make changes to certain parts of the source code, we > can run a makefile to recompile it. For python-based projects such as > scrapy, when I make changes to the project, will the interpreter > automatically detect the changes? Or do I have to go through some process > to update it? > The point of "pip install --editable ." is so that your changes show up automatically -- so yes, the interpreter will automatically detect the changes. (By contrast, if you use "python setup.py install" or other similar things, then the interpreter won't automatically detect the changes.") http://stackoverflow.com/questions/19048732/python-setup-py-develop-vs-install covers that, though it uses the old name, "python setup.py develop". The new way that I prefer is "pip install --editable ." but they are really the same thing. I ran the tests just as a way of seeing if the code was properly installed. I installed dependencies because they're needed! I hope that helps. Let me know! -- Asheesh. -- You received this message because you are subscribed to the Google Groups "scrapy-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/scrapy-users. For more options, visit https://groups.google.com/d/optout.
