Clément Jonglez created PYLUCENE-68:
---------------------------------------
Summary: setup.py install and easy_install command are deprecated
Key: PYLUCENE-68
URL: https://issues.apache.org/jira/browse/PYLUCENE-68
Project: PyLucene
Issue Type: Task
Reporter: Clément Jonglez
When compiling with jcc to create a wheel, I get the following warnings (see
below).
This is still working but eventually the `setup.py` installation and
`easy_install` command will be removed.
It would be nice to adapt JCC to modern pypa build tools, but I don't know
enough about JCC to do these changes.
```
/home/yzokras/Documents/orekit-pip/orekit312/lib/python3.12/site-packages/setuptools/_distutils/dist.py:947:
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.
********************************************************************************
!!
/home/yzokras/Documents/orekit-pip/orekit312/lib/python3.12/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 or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
for details.
********************************************************************************
!!
self.initialize_options()
/home/yzokras/Documents/orekit-pip/orekit312/lib/python3.12/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 or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
self.initialize_options()
```
--
This message was sent by Atlassian Jira
(v8.20.10#820010)