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

setup.py install is deprecated #143

Open
Sjors opened this issue Feb 26, 2024 · 2 comments
Open

setup.py install is deprecated #143

Sjors opened this issue Feb 26, 2024 · 2 comments

Comments

@Sjors
Copy link

Sjors commented Feb 26, 2024

I already forgot how I worked around this the last time, so might be good to figure out the latest trend Python land and use that...

% python3 setup.py develop --user
running develop
/Users/sjors/.pyenv/versions/3.12.1/lib/python3.12/site-packages/setuptools/command/develop.py:39: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************

!!
  easy_install.initialize_options(self)
error: [Errno 17] File exists: '/Users/sjors/.pyenv/versions/3.12.1/bin/python3.12'
@Sjors
Copy link
Author

Sjors commented Feb 26, 2024

(I just ended up doing pip install . for every code change)

@petertodd
Copy link
Member

Alright, who knows what I should be using? I try to do Rust these days so I have no idea what's up with Python now.

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

No branches or pull requests

2 participants