$59 GRAYBYTE WORDPRESS FILE MANAGER $85

SERVER : in-mum-web1330.main-hosting.eu #1 SMP Mon Feb 10 22:45:17 UTC 2025
SERVER IP : 88.222.243.19 | ADMIN IP 216.73.216.143
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python311/share/doc/alt-python311-setuptools/docs/deprecated/

HOME
Current File : /opt/alt/python311/share/doc/alt-python311-setuptools/docs/deprecated//functionalities.rst
"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.

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
5 Sep 2025 9.32 AM
root / 996
0755
distutils
--
5 Sep 2025 9.32 AM
root / 996
0755
changed_keywords.rst
2.126 KB
24 Nov 2022 6.08 AM
root / 996
0644
commands.rst
28.979 KB
24 Nov 2022 6.08 AM
root / 996
0644
dependency_links.rst
2.792 KB
24 Nov 2022 6.08 AM
root / 996
0644
distutils-legacy.rst
2.314 KB
24 Nov 2022 6.08 AM
root / 996
0644
easy_install.rst
50.845 KB
24 Nov 2022 6.08 AM
root / 996
0644
functionalities.rst
1.417 KB
24 Nov 2022 6.08 AM
root / 996
0644
index.rst
0.843 KB
24 Nov 2022 6.08 AM
root / 996
0644
python_eggs.rst
30.218 KB
24 Nov 2022 6.08 AM
root / 996
0644
resource_extraction.rst
2.976 KB
24 Nov 2022 6.08 AM
root / 996
0644
zip_safe.rst
3.568 KB
24 Nov 2022 6.08 AM
root / 996
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF