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

Setting up Python bindings issues deprecation warnings #1645

Open
rbeezer opened this issue Oct 7, 2024 · 1 comment
Open

Setting up Python bindings issues deprecation warnings #1645

rbeezer opened this issue Oct 7, 2024 · 1 comment

Comments

@rbeezer
Copy link
Contributor

rbeezer commented Oct 7, 2024

Can't see that this has been reported here. Apologies if it is a duplicate or known. Setting up Python bindings issues a few deprecation warnings. My install just now (into a fresh version of Python) seems to be working fine. Python 3.12, Ubuntu 24.04.

Rob

/tmp/liblouis-3.31.0/python# python3 setup.py install
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

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

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

!!
  self.initialize_options()
/usr/lib/python3/dist-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 or other
        standards-based tools.

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

!!
  self.initialize_options()
/usr/lib/python3/dist-packages/setuptools/dist.py:172: SetuptoolsDeprecationWarning: Invalid config.
!!

        ********************************************************************************
        newlines are not allowed in `summary` and will break in the future
        ********************************************************************************

!!
  write_field('Summary', single_line(summary))
zip_safe flag not set; analyzing archive contents...
@Hrishi-R
Copy link

Hrishi-R commented Oct 31, 2024

Hey Rob,
I just ran into this issue too. Would you mind sharing how you moved past it? I did not have this problem the last time I tried to install it (approx 3 months ago - python 3.12 + Debian). This seems like a new issue.

Thanks!

Edit: I found a workaround. After encountering this error, I ran "pip install louis", and it seemed to have installed it! Source for the workaround: #1114 (comment)

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