I have some issues with a published package and wish to edit the code myself (may generate a pull request later to contribute). I am quite confused about how to do this since it seems there is a lack of step-by-step guidance. Could anybody give me a very detailed instruction about how this is done (or a link)? My understanding and also my questions about the workflow are:
- Fork the package through git/github and have a local synced copy (done!).
- Create a new Anaconda environment (done!)?
- Install the package as normal: $conda install xxx or $python setup.py develop?
- Do I make changes to the package directly in the package folder in Anaconda if I use python setup.py develop?
- Or make changes to the local forked copy and install/update again and what are the commands for this?
- Do I need to update the setup.py file as well before running it either way?
source https://stackoverflow.com/questions/72557727/how-to-modify-edit-an-installed-anaconda-package
Comments
Post a Comment