1

I downloaded a Python package from Github. To use it I had to install an python egg on my computer. I'd like to make some modifications to the package. To do so, I have to recompile the egg each time to test it.

My question is, how do I run the python files directly without having to recompile the egg each time?

Alexis
  • 23,545
  • 19
  • 104
  • 143

1 Answers1

1

You can use an "editable" installation to link to the files directly, without having to build the egg each time.

$ pip install -e ./path/to/package

https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs

Sherpa
  • 1,948
  • 13
  • 25