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

Add setup.py stub to support editable installs #576

Closed
ktbarrett opened this issue Feb 15, 2022 · 1 comment
Closed

Add setup.py stub to support editable installs #576

ktbarrett opened this issue Feb 15, 2022 · 1 comment

Comments

@ktbarrett
Copy link
Contributor

How would this feature be useful?
Editable installs are very useful for development, but without the presence of a setup.py file pip refuses to install the project in editable mode.

Describe the solution you'd like
A simple stub for setup.py is sufficient to support editable installs since setup.cfg is used for all project description. See below for an example of what that sub would look like.

from setuptools import setup


setup()

Describe alternatives you've considered
Manually installing nox after every change...

@FollowTheProcess
Copy link
Collaborator

FollowTheProcess commented Feb 15, 2022

You don't need a setup.py shim to do editable installs anymore!

Mine works as is:

image

image

If yours does not allow this you need to upgrade a newer version of pip and/or setuptools

We removed setup.py here: #458 (comment)

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

No branches or pull requests

2 participants