4

I noticed that in Scripts folder inside the python installation folder there are executable files. Each file about a 100kb in size.

FYI: when I open it (or them) using 7Zip I often find a init.py file inside.

1 Answer 1

3

The setuptools package builder is able to

Automatically generate wrapper scripts or Windows (console and GUI) .exe files for any number of “main” functions in your project. (Note: this is not a py2exe replacement; the .exe files rely on the local Python installation.)

(ref. from setuptools documentation)

Unfortunately the way it is actually done is considered an implementation detail and is not documented.

Sign up to request clarification or add additional context in comments.

1 Comment

That's brightens up most of the dark parts. Though I really wanted the implementation. But, I guess it can't be helped

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.