Current Path: > > opt > alt > python312 > share > > doc > alt-python312-setuptools > docs > deprecated
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
distutils | Directory | - | - | |
changed_keywords.rst | File | 2177 bytes | November 21 2023 19:00:33. | |
commands.rst | File | 29674 bytes | November 21 2023 19:00:33. | |
dependency_links.rst | File | 2859 bytes | November 21 2023 19:00:33. | |
distutils-legacy.rst | File | 2433 bytes | November 21 2023 19:00:33. | |
easy_install.rst | File | 52010 bytes | November 21 2023 19:00:33. | |
functionalities.rst | File | 1451 bytes | November 21 2023 19:00:33. | |
index.rst | File | 863 bytes | November 21 2023 19:00:33. | |
python_eggs.rst | File | 30943 bytes | November 21 2023 19:00:33. | |
resource_extraction.rst | File | 3047 bytes | November 21 2023 19:00:33. | |
zip_safe.rst | File | 3649 bytes | November 21 2023 19:00:33. |
"Eggsecutable" Scripts ---------------------- .. deprecated:: 45.3.0 Occasionally, there are situations where it's desirable to make an ``.egg`` file directly executable. You can do this by including an entry point such as the following:: setup( # other arguments here... entry_points={ "setuptools.installation": [ "eggsecutable = my_package.some_module:main_func", ] } ) Any eggs built from the above setup script will include a short executable prelude that imports and calls ``main_func()`` from ``my_package.some_module``. The prelude can be run on Unix-like platforms (including Mac and Linux) by invoking the egg with ``/bin/sh``, or by enabling execute permissions on the ``.egg`` file. For the executable prelude to run, the appropriate version of Python must be available via the ``PATH`` environment variable, under its "long" name. That is, if the egg is built for Python 2.3, there must be a ``python2.3`` executable present in a directory on ``PATH``. IMPORTANT NOTE: Eggs with an "eggsecutable" header cannot be renamed, or invoked via symlinks. They *must* be invoked using their original filename, in order to ensure that, once running, ``pkg_resources`` will know what project and version is in use. The header script will check this and exit with an error if the ``.egg`` file has been renamed or is invoked via a symlink that changes its base name.
SILENT KILLER Tool