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

Running setup.py directly is now deprecated #490

Open
cclauss opened this issue Apr 29, 2023 · 1 comment
Open

Running setup.py directly is now deprecated #490

cclauss opened this issue Apr 29, 2023 · 1 comment

Comments

@cclauss
Copy link
Collaborator

cclauss commented Apr 29, 2023

% 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
Copy link

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

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