Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build-system to allow for editable installs #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

akx
Copy link

@akx akx commented Oct 23, 2023

Before:

$ pip install -e .
Obtaining file:///Users/akx/build/openapi2jsonschema
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
ERROR: Project file:///Users/akx/build/openapi2jsonschema has a 'pyproject.toml' and its build backend is missing the 'build_editable' hook. Since it does not have a 'setup.py' nor a 'setup.cfg', it cannot be installed in editable mode. Consider using a build backend that supports PEP 660.

After:

$ pip install -e .
Obtaining file:///Users/akx/build/openapi2jsonschema
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Successfully installed click-7.1.2 colorama-0.4.6 jsonref-0.2 openapi2jsonschema-0.9.0 pyyaml-5.4.1

@fabpiaf
Copy link

fabpiaf commented Mar 11, 2024

works, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants