Skip to content

bpo-30757 pyinstaller added to docs, py2exe ref updated #1158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from

Conversation

den-run-ai
Copy link
Contributor

@mention-bot
Copy link

@denfromufa, thanks for your PR! By analyzing the history of the files in this pull request, we identified @birkenfeld, @briancurtin and @serhiy-storchaka to be potential reviewers.

@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA. This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

Thanks again to your contribution and we look forward to looking at it!

Python 2.x-based executables, does not yet support Python 3 but a version that
does is in development.
See http://cx-freeze.sourceforge.net/ and http://www.pyinstaller.org/ for the
distutils extensions that allows you to create console and GUI executables
Copy link
Contributor

Choose a reason for hiding this comment

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

PyInstaller isn't a distutils extension (and AFAIK doesn't even have anything to do with distutils).

@berkerpeksag
Copy link
Member

Thanks for the PR, but please open an issue on bugs.python.org. I agree that those two sections can be merged into one.

@den-run-ai
Copy link
Contributor Author

added issue: http://bugs.python.org/issue30757

@den-run-ai den-run-ai changed the title pyinstaller added to docs, py2exe ref updated pyinstaller added to docs, py2exe ref updated: http://bugs.python.org/issue30757 Jun 26, 2017
@den-run-ai den-run-ai changed the title pyinstaller added to docs, py2exe ref updated: http://bugs.python.org/issue30757 30757 pyinstaller added to docs, py2exe ref updated: http://bugs.python.org/issue30757 Jun 26, 2017
@den-run-ai den-run-ai changed the title 30757 pyinstaller added to docs, py2exe ref updated: http://bugs.python.org/issue30757 bpo-30757 pyinstaller added to docs, py2exe ref updated: http://bugs.python.org/issue30757 Jun 26, 2017
@den-run-ai den-run-ai changed the title bpo-30757 pyinstaller added to docs, py2exe ref updated: http://bugs.python.org/issue30757 bpo-30757 pyinstaller added to docs, py2exe ref updated Jun 26, 2017
from Python code.
`py2exe <http://www.py2exe.org/>`_, popular extension for building
Python 2.x-based executables, partially supports Python 3, see
https://pypi.python.org/pypi/py2exe/.
Copy link
Member

Choose a reason for hiding this comment

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

All three of these do the same or similar things but the grouping of the sentences reads oddly. Can we just simplify this to be more of a list? Something like...

The following packages can help with the creation of cross-platform console and GUI executables:
* http://cx-freeze.sourceforge.net/
* http://www.pyinstaller.org/

Additionally, http://www.py2exe.org/ exclusively supports Windows executables.

@den-run-ai
Copy link
Contributor Author

@briancurtin @berkerpeksag please review

`py2exe <http://www.py2exe.org/>`_, the most popular extension for building
Python 2.x-based executables, does not yet support Python 3 but a version that
does is in development.
The following 2 packages cx_Freeze and PyInstaller allow
Copy link
Member

Choose a reason for hiding this comment

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

I liked Brian's suggested wording more:

The following packages can help with the creation of console and GUI executables:

does is in development.
The following 2 packages cx_Freeze and PyInstaller allow
the creation of cross-platform stand-alone console and GUI executables:
* http://cx-freeze.sourceforge.net/
Copy link
Member

Choose a reason for hiding this comment

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

`cx_Freeze <http://cx-freeze.sourceforge.net/>`_

The following 2 packages cx_Freeze and PyInstaller allow
the creation of cross-platform stand-alone console and GUI executables:
* http://cx-freeze.sourceforge.net/
* http://www.pyinstaller.org/
Copy link
Member

@berkerpeksag berkerpeksag Jul 22, 2017

Choose a reason for hiding this comment

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

PyInstaller can run on non-Windows platforms too. I think that the best we could do

  • Move the content of this section to end of the "How can I create a stand-alone binary from a Python script?" section in Doc/faq/programming.rst

  • In Doc/faq/programming.rst, change lines 75 and 76 to

    .. _faq-create-standalone-binary:
    
    How can I create a stand-alone binary from a Python script?
    -----------------------------------------------------------
  • Remove

    Additionally, http://www.py2exe.org/ exclusively supports Windows
    executables.

    and add py2exe to the list:

    The following packages can help with the creation of console and GUI
    executables:
    
    * `cx_Freeze <http://cx-freeze.sourceforge.net/>`_ (Cross-platform)
    * `PyInstaller <http://www.pyinstaller.org/>`_ (Cross-platform)
    * `py2exe <http://www.py2exe.org/>`_ (Windows only)
  • Then make the "How do I make an executable from a Python script?" section in this file a pointer to the "How can I create a stand-alone binary from a Python script?" section in Doc/faq/programming.rst:

    How do I make an executable from a Python script?
    -------------------------------------------------
    
    See :ref:`faq-create-standalone-binary` for a list of tools that can be
    used to make executables.

* http://cx-freeze.sourceforge.net/
* http://www.pyinstaller.org/

Additionally, http://www.py2exe.org/ exclusively supports Windows executables.
Copy link
Member

Choose a reason for hiding this comment

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

`py2exe <http://www.py2exe.org/>`_

@brettcannon
Copy link
Member

To try and help move older pull requests forward, we are going through and backfilling 'awaiting' labels on pull requests that are lacking the label. Based on the current reviews, the best we can tell in an automated fashion is that a core developer requested changes to be made to this pull request.

If/when the requested changes have been made, please leave a comment that says, I have made the requested changes; please review again. That will trigger a bot to flag this pull request as ready for a follow-up review.

@csabella
Copy link
Contributor

@denfromufa, please address the code reviews and resolve the merge conflicts. Thank you!

@csabella csabella added the stale Stale PR or inactive for long period of time. label Jan 26, 2020
erlend-aasland pushed a commit to erlend-aasland/cpython that referenced this pull request May 22, 2021
Based on PR (pythonGH-1158) by Denis Akhiyarov.

Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no>
@erlend-aasland
Copy link
Contributor

Due to the lack of response (pinged both here and on bpo), I've applied @berkerpeksag and @briancurtin's suggestions and opened #26309. Closing this in favour of the new PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting changes stale Stale PR or inactive for long period of time.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants