mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
brr
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
Introduction
|
Introduction
|
||||||
------------
|
------------
|
||||||
|
|
||||||
This part of the documentation, which is mostly prose, begins with some
|
This part of the guide, which is mostly prose, begins with some
|
||||||
background information about Python, then focuses on next steps.
|
background information about Python, then focuses on next steps.
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
@@ -12,15 +12,17 @@ background information about Python, then focuses on next steps.
|
|||||||
resources
|
resources
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Getting Started
|
Getting Started
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
This part of the guide focuses on setting up your Python environment.
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
which-python
|
which-python
|
||||||
installation
|
installation
|
||||||
|
dev-env
|
||||||
getting-started-next
|
getting-started-next
|
||||||
|
|
||||||
|
|
||||||
@@ -30,7 +32,6 @@ Writing Great Code
|
|||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
dev-env
|
|
||||||
project-structure
|
project-structure
|
||||||
code-style
|
code-style
|
||||||
documentation
|
documentation
|
||||||
@@ -42,6 +43,8 @@ Writing Great Code
|
|||||||
Shipping Great Code
|
Shipping Great Code
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
|
This part of the guide focuses on deploying your Python code.
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
@@ -49,6 +52,7 @@ Shipping Great Code
|
|||||||
documentation
|
documentation
|
||||||
testing
|
testing
|
||||||
packaging
|
packaging
|
||||||
|
freezing
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,46 @@
|
|||||||
|
Freezing Your Code
|
||||||
|
==================
|
||||||
|
|
||||||
|
An alterinative to shipping your code is freezing it — shipping it as an
|
||||||
|
executable with a bundled Python enterpreter.
|
||||||
|
|
||||||
|
Many applications you use every day do this:
|
||||||
|
|
||||||
|
- Dropbox
|
||||||
|
- Others
|
||||||
|
|
||||||
|
|
||||||
|
Windows
|
||||||
|
:::::::
|
||||||
|
|
||||||
|
|
||||||
|
py2exe
|
||||||
|
------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
OSX
|
||||||
|
:::
|
||||||
|
|
||||||
|
|
||||||
|
py2app
|
||||||
|
------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
PyInstaller
|
||||||
|
-----------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Linux
|
||||||
|
:::::
|
||||||
|
|
||||||
|
|
||||||
|
bbFreeze
|
||||||
|
--------
|
||||||
|
|
||||||
|
PyInstaller
|
||||||
|
-----------
|
||||||
Reference in New Issue
Block a user