TxtStyle icon indicating copy to clipboard operation
TxtStyle copied to clipboard

Some things are deprecated with python 3.11

Open Zesko opened this issue 1 year ago • 1 comments

FYI

If you use python 3.11 or newer and run $ sudo python setup.py install, you will get the warning:

running install
/usr/lib/python3.11/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()
/usr/lib/python3.11/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()
running bdist_egg
running egg_info
writing TxtStyle.egg-info/PKG-INFO
writing dependency_links to TxtStyle.egg-info/dependency_links.txt
writing entry points to TxtStyle.egg-info/entry_points.txt
writing top-level names to TxtStyle.egg-info/top_level.txt
reading manifest file 'TxtStyle.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching 'tests'
adding license file 'LICENSE.txt'
writing manifest file 'TxtStyle.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/txtstyle
copying build/lib/txtstyle/txts.py -> build/bdist.linux-x86_64/egg/txtstyle
copying build/lib/txtstyle/txtsconf.py -> build/bdist.linux-x86_64/egg/txtstyle
copying build/lib/txtstyle/transformer.py -> build/bdist.linux-x86_64/egg/txtstyle
copying build/lib/txtstyle/confparser.py -> build/bdist.linux-x86_64/egg/txtstyle
copying build/lib/txtstyle/linestyleprocessor.py -> build/bdist.linux-x86_64/egg/txtstyle
copying build/lib/txtstyle/version.py -> build/bdist.linux-x86_64/egg/txtstyle
copying build/lib/txtstyle/__init__.py -> build/bdist.linux-x86_64/egg/txtstyle
copying build/lib/txtstyle/palette.py -> build/bdist.linux-x86_64/egg/txtstyle
byte-compiling build/bdist.linux-x86_64/egg/txtstyle/txts.py to txts.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/txtstyle/txtsconf.py to txtsconf.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/txtstyle/transformer.py to transformer.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/txtstyle/confparser.py to confparser.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/txtstyle/linestyleprocessor.py to linestyleprocessor.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/txtstyle/version.py to version.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/txtstyle/__init__.py to __init__.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/txtstyle/palette.py to palette.cpython-311.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying TxtStyle.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying TxtStyle.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying TxtStyle.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying TxtStyle.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying TxtStyle.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/TxtStyle-1.1.2-py3.11.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing TxtStyle-1.1.2-py3.11.egg
Removing /usr/lib/python3.11/site-packages/TxtStyle-1.1.2-py3.11.egg
Copying TxtStyle-1.1.2-py3.11.egg to /usr/lib/python3.11/site-packages
TxtStyle 1.1.2 is already the active version in easy-install.pth
Installing txts script to /usr/bin

Installed /usr/lib/python3.11/site-packages/TxtStyle-1.1.2-py3.11.egg
Processing dependencies for TxtStyle==1.1.2
Finished processing dependencies for TxtStyle==1.1.2

Zesko avatar May 04 '23 08:05 Zesko