stash icon indicating copy to clipboard operation
stash copied to clipboard

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

Open cclauss opened this issue 2 years ago • 1 comments

% 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()

cclauss avatar Apr 29 '23 12:04 cclauss

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

saharzakeri avatar Jun 09 '23 17:06 saharzakeri