Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Türkçe Talimatları [burada](./README-Turkish.md) bulabilirsiniz.

### Prerequisites

- Python: 3.6-3.12
- Python: 3.6-3.14

_To have the interface displayed in the images, you will need Chrome. If Chrome is not installed or `--default-browser` is passed, the default browser will be used._

Expand All @@ -51,7 +51,10 @@ _To have the interface displayed in the images, you will need Chrome. If Chrome
You can install this project using PyPI:

```
$ pip install auto-py-to-exe
Windows:
$ python -m pip install auto-py-to-exe
Linux:
$ python3 -m pip install auto-py-to-exe
Comment on lines -54 to +57
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recon this is not needed - if python is available, pip usually is. Unless I'm unaware of a recent change?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are correct for all recent and standard Python distributions!

The assumption that "if python is available, pip usually is" holds true because:

ensurepip: Since Python 3.4, the standard library includes the ensurepip module, which is responsible for bootstrapping (installing) the pip package manager into the Python environment. This happens automatically during the installation process for official distributions.

Official Installers: Official Python installers for Windows and macOS, and most Linux package managers, ensure that pip is configured and ready to use immediately.

When You Might Not Have pip

There are a few historical or specific corner cases where pip might be missing:

Older Python Versions: If someone is using an old, unsupported version of Python (pre-3.4).

Custom/Minimal Builds: In highly restricted or customized environments (like some embedded systems or specific Linux distributions) where Python was compiled from source with the explicit option to exclude standard components, or where the system maintains a very minimal Python environment.

Virtual Environments (Rarely): In older versions of the venv module, you might have had to specify that you wanted pip included, but today, it's included by default when you create a new virtual environment.

In summary, your recollection is accurate: unless dealing with a very old version or a non-standard build, you can safely assume pip is present!

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not to be rude, but I was asking you, not some AI assistant. Ignoring that, lets look at some of your reasonings that you provided.

If someone is using an old, unsupported version of Python (pre-3.4).

You just modified the file that said support starts at 3.6 did you not? So this is not a concern.

Custom/Minimal Builds

If someone is using a custom build, they will know how to adjust the command to work for them

Virtual Environments (Rarely)

As you said, "but today, it's included by default when you create a new virtual environment"

```

Then to run it, execute the following in the terminal:
Expand Down
2 changes: 1 addition & 1 deletion auto_py_to_exe/__init__.py
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Versions are bumped independently as can be seen in this projects git history. Please leave version changes for a separate commit.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only made one commit on one file.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PRs are squashed - so no matter how many commits a PR has, they are squashed to one onto master.

I recommend leaving the version bump out as it is missing other associated components.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.47.0"
__version__ = "2.48.0"
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
],
Expand Down