ywangd / stash

StaSh - Shell for Pythonista
MIT License
1.94k stars 227 forks source link

Running ``setup.py`` directly is now deprecated #490

Open cclauss opened 1 year ago

cclauss commented 1 year ago

% pytest # generates these warnings:

tests/install/test_getstash.py::GetstashTests::test_install_setup
  /Users/runner/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
  !!

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

          See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
          ********************************************************************************

  !!
    self.initialize_options()

tests/install/test_getstash.py::GetstashTests::test_install_setup
  /Users/runner/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
  !!

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

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

  !!
    self.initialize_options()
saharzakeri commented 1 year ago

Hi I have the same issue in installing 'setup.py' in matalab. Could you solve this problem?