networkx / outreachy

BSD 3-Clause "New" or "Revised" License
7 stars 74 forks source link

Setup local development environment for NetworkX #3

Open MridulS opened 2 years ago

MridulS commented 2 years ago

[Everyone can do this task. There is no need to claim/assign this issue]

Make sure you have completed the first task before proceeding further. In this task applicants are expected to setup their local development environment, required to contribute code to the networkx project. Applicants should go through our Contributor Guide.

Once you have installed all the requirements and setup the environment, please run the tests locally. If all the tests pass then copy the output of $ PYTHONPATH=. pytest networkx and put it inside a file named nx_dev_test_output.txt. Add this file to your folder created in the first task and push the changes to github.

Create a pull request against this repository and add the file 2023-round-2/<your-github-username>/nx_dev_test_output.txt with the pytest output.

PurviChaurasia commented 1 year ago

Hi, I am stuck in creating a virtual env in vscode. The following command is not working - source networkx-dev/bin/activate The error is that source is not recognized as an internal or external command. Can someone help me out?

Ruchi-here commented 1 year ago

Yeah, its because the command given is Linux command and you might be using on Windows

PurviChaurasia commented 1 year ago

Oh yes! Thanks for pointing it out :)