You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just had a fresh install of the latest miniconda. It now ships Python 3.9.13 and pip 21.2.4 in the base environment by default.
Installing PyGMT in editable mode fails with the following error:
$ pip install --no-deps -e .
ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode: /home/seisman/OSS/gmt/pygmt
(A "pyproject.toml" file was found, but editable mode currently requires a setuptools-based build.)
After upgrading pip to 21.3 or newer, the installation works again.
The latest Anaconda/miniconda release in Oct. 2022 ships pip 22.2.2 by default (see the Anaconda changelog and the Anaconda package lists. Now it's time to remove the setup.cfg file.
Activity
seisman commentedon Aug 31, 2022
Adding an empty
setup.cfgfile to the repository root directory can fix the issue. So, do we want to havesetup.cfgback for users who have pip<21.3?weiji14 commentedon Sep 5, 2022
If we want to add back a setup.cfg file, how long do we want to keep it for? Until PyGMT v0.9.0? v0.10.0?
seisman commentedon Sep 5, 2022
I think we should keep it until the latest miniconda/Anaconda ships pip>=21.3 by default.
seisman commentedon Dec 12, 2022
I'm reopening the issue so that we won't forge to remove the
setup.cfgin the future.seisman commentedon Dec 31, 2022
The latest Anaconda/miniconda release in Oct. 2022 ships pip 22.2.2 by default (see the Anaconda changelog and the Anaconda package lists. Now it's time to remove the
setup.cfgfile.