opentimestamps-client icon indicating copy to clipboard operation
opentimestamps-client copied to clipboard

setup.py install is deprecated

Open Sjors opened this issue 4 months ago • 2 comments

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 avatar Feb 26 '24 09:02 Sjors

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

Sjors avatar Feb 26 '24 09:02 Sjors

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.

petertodd avatar Mar 12 '24 17:03 petertodd