OpenGATE / opengate

Gate 10 (beta)
http://www.opengatecollaboration.org
GNU Lesser General Public License v3.0
45 stars 40 forks source link

Warning during compilation #207

Open dsarrut opened 1 year ago

dsarrut commented 1 year ago

I got some warning during compilation (nothing urgent)

 Running command python setup.py develop
    Warning: 'classifiers' should be a list, got type 'tuple'
    /Users/dsarrut/src/py/miniconda3/envs/opengate_3_10/lib/python3.10/site-packages/setuptools/dist.py:519: InformationOnly: Normalizing '10.0beta03
    ' to '10.0b3'
      self.metadata.version = self._normalize_version(
    running develop
    /Users/dsarrut/src/py/miniconda3/envs/opengate_3_10/lib/python3.10/site-packages/setuptools/command/develop.py:40: 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.
            ********************************************************************************

    !!
      easy_install.initialize_options(self)
    /Users/dsarrut/src/py/miniconda3/envs/opengate_3_10/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()
nkrah commented 11 months ago

@tbaudier : This actually contains multiple warnings. One seems easy to fix: Warning: 'classifiers' should be a list, got type 'tuple' Is that already fixed?

The part about easy_install seems somewhat more complicated, but we should address that at some point, given that it's a deprecation warning.