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
mplcursors imports setup() from setupext rather than from setuptools directly, and this breaks dowsing's ability to interpret the setup.py:
(venv39) jreese@butterfree ~/scratch/mplcursors-0.5.1 » python -m dowsing.pep517 .
/Users/jreese/.pyenv/versions/3.9.3/lib/python3.9/runpy.py:127: RuntimeWarning: 'dowsing.pep517' found in sys.modules after import of package 'dowsing', but prior to execution of 'dowsing.pep517'; this may result in unpredictable behaviour
warn(RuntimeWarning(msg))
/Users/jreese/scratch/venv39/lib/python3.9/site-packages/setuptools/distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.
warnings.warn(
Traceback (most recent call last):
File "/Users/jreese/.pyenv/versions/3.9.3/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Users/jreese/.pyenv/versions/3.9.3/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Users/jreese/scratch/venv39/lib/python3.9/site-packages/dowsing/pep517.py", line 88, in <module>
main(Path(sys.argv[1]))
File "/Users/jreese/scratch/venv39/lib/python3.9/site-packages/dowsing/pep517.py", line 77, in main
metadata = get_metadata(path)
File "/Users/jreese/scratch/venv39/lib/python3.9/site-packages/dowsing/pep517.py", line 67, in get_metadata
return backend.get_metadata()
File "/Users/jreese/scratch/venv39/lib/python3.9/site-packages/dowsing/setuptools/__init__.py", line 41, in get_metadata
d2 = from_setup_py(self.path, {})
File "/Users/jreese/scratch/venv39/lib/python3.9/site-packages/dowsing/setuptools/setup_py_parsing.py", line 48, in from_setup_py
raise SyntaxError("No simple setup call found")
SyntaxError: No simple setup call found
The text was updated successfully, but these errors were encountered:
mplcursors imports
setup()
from setupext rather than from setuptools directly, and this breaks dowsing's ability to interpret the setup.py:The text was updated successfully, but these errors were encountered: