If you install the conda build package (and you have a package, not just a script), you can install in “editable” mode:
conda develop .
(running from the directory with your script). This is very similar to the “editable” mode from pip
pip install -e .
Either approach lets you uninstall packages with either
conda develop -u .
or
pip uninstall .
If you just have a script (not a package), you can edit or set the PYTHONPATH
environment variable to include the directory with the script.