mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
Mark up files & directories
This commit is contained in:
@@ -38,7 +38,7 @@ cx_Freeze yes yes yes yes PSF no yes yes
|
||||
.. note::
|
||||
All solutions need MS Visual C++ dll to be installed on target machine.
|
||||
Only Pyinstaller makes self-executable exe that bundles the dll when
|
||||
passing ``--onefile`` to `Configure.py`.
|
||||
passing ``--onefile`` to :file:`Configure.py`.
|
||||
|
||||
Windows
|
||||
-------
|
||||
@@ -72,7 +72,7 @@ Prerequisite is to install :ref:`Python on Windows <install-windows>`.
|
||||
|
||||
4. (Optionally) `one-file mode <http://stackoverflow.com/questions/112698/py2exe-generate-single-executable-file#113014>`_
|
||||
|
||||
5. Generate ``.exe`` into ``dist`` directory:
|
||||
5. Generate :file:`.exe` into :file:`dist` directory:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ running from the directory which holds those packages which need to be installed
|
||||
|
||||
**Showing an example is always beneficial**
|
||||
|
||||
Say if you are after installing a package called MyPackage.tar.gz, and
|
||||
Say if you are after installing a package called :file:`MyPackage.tar.gz`, and
|
||||
assuming this is your directory structure:
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ package installer. Using Pip, you would do it like:
|
||||
|
||||
Having a folder with the same name as the package name is **crucial** here.
|
||||
I got fooled by that, one time. But if you feel that creating a folder called
|
||||
**MyPackage** and keeping **MyPackage.tar.gz** inside that, is *redundant*,
|
||||
:file:`MyPackage` and keeping :file:`MyPackage.tar.gz` inside that, is *redundant*,
|
||||
you can still install MyPackage using:
|
||||
|
||||
.. code-block:: console
|
||||
@@ -88,7 +88,7 @@ One simple option for a personal PyPi server is to use Amazon S3. A prerequisite
|
||||
|
||||
4. **Upload the new files**
|
||||
|
||||
* Use a client like Cyberduck to sync the entire :code:`packages` folder to your s3 bucket
|
||||
* Use a client like Cyberduck to sync the entire :file:`packages` folder to your s3 bucket
|
||||
* Make sure you upload :code:`packages/simple/index.html` as well as all new files and directories
|
||||
|
||||
5. **Fix new file permissions**
|
||||
|
||||
Reference in New Issue
Block a user