mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
Merge pull request #949 from apjanke/style-Xcode
Style it "Xcode", not "XCode"
This commit is contained in:
@@ -64,7 +64,7 @@ such as: Mouse, Dual Mouse, TUIO, WiiMote, WM_TOUCH, HIDtouch, Apple's products
|
|||||||
and so on.
|
and so on.
|
||||||
|
|
||||||
Kivy is actively being developed by a community and is free to use. It operates
|
Kivy is actively being developed by a community and is free to use. It operates
|
||||||
on all major platforms (Linux, OSX, Windows, Android).
|
on all major platforms (Linux, OS X, Windows, Android).
|
||||||
|
|
||||||
The main resource for information is the website: http://kivy.org
|
The main resource for information is the website: http://kivy.org
|
||||||
|
|
||||||
|
|||||||
@@ -168,10 +168,10 @@ each distribution's format (e.g. .deb for Debian/Ubuntu, .rpm for Red
|
|||||||
Hat/Fedora, etc) is a fair amount of work. If your code is an application that
|
Hat/Fedora, etc) is a fair amount of work. If your code is an application that
|
||||||
you plan to distribute on other platforms, then you'll also have to create and
|
you plan to distribute on other platforms, then you'll also have to create and
|
||||||
maintain the separate config required to freeze your application for Windows
|
maintain the separate config required to freeze your application for Windows
|
||||||
and OSX. It would be much less work to simply create and maintain a single
|
and OS X. It would be much less work to simply create and maintain a single
|
||||||
config for one of the cross platform :ref:`freezing tools
|
config for one of the cross platform :ref:`freezing tools
|
||||||
<freezing-your-code-ref>`, which will produce stand-alone executables for all
|
<freezing-your-code-ref>`, which will produce stand-alone executables for all
|
||||||
distributions of Linux, as well as Windows and OSX.
|
distributions of Linux, as well as Windows and OS X.
|
||||||
|
|
||||||
Creating a distribution package is also problematic if your code is for a
|
Creating a distribution package is also problematic if your code is for a
|
||||||
version of Python that isn't currently supported by a distribution.
|
version of Python that isn't currently supported by a distribution.
|
||||||
|
|||||||
@@ -39,12 +39,12 @@ minimal but unofficial
|
|||||||
package.
|
package.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
If you already have XCode installed, do not install OSX-GCC-Installer.
|
If you already have Xcode installed, do not install OSX-GCC-Installer.
|
||||||
In combination, the software can cause issues that are difficult to
|
In combination, the software can cause issues that are difficult to
|
||||||
diagnose.
|
diagnose.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
If you perform a fresh install of XCode, you will also need to add the
|
If you perform a fresh install of Xcode, you will also need to add the
|
||||||
commandline tools by running ``xcode-select --install`` on the terminal.
|
commandline tools by running ``xcode-select --install`` on the terminal.
|
||||||
|
|
||||||
|
|
||||||
@@ -53,7 +53,7 @@ Linux systems will notice one key component missing: a decent package manager.
|
|||||||
`Homebrew <http://brew.sh>`_ fills this void.
|
`Homebrew <http://brew.sh>`_ fills this void.
|
||||||
|
|
||||||
To `install Homebrew <http://brew.sh/#install>`_, open :file:`Terminal` or
|
To `install Homebrew <http://brew.sh/#install>`_, open :file:`Terminal` or
|
||||||
your favorite OSX terminal emulator and run
|
your favorite OS X terminal emulator and run
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
|
|||||||
@@ -27,18 +27,18 @@ Doing it Right
|
|||||||
Let's install a real version of Python.
|
Let's install a real version of Python.
|
||||||
|
|
||||||
Before installing Python, you'll need to install GCC. GCC can be obtained
|
Before installing Python, you'll need to install GCC. GCC can be obtained
|
||||||
by downloading `XCode <http://developer.apple.com/xcode/>`_, the smaller
|
by downloading `Xcode <http://developer.apple.com/xcode/>`_, the smaller
|
||||||
`Command Line Tools <https://developer.apple.com/downloads/>`_ (must have an
|
`Command Line Tools <https://developer.apple.com/downloads/>`_ (must have an
|
||||||
Apple account) or the even smaller `OSX-GCC-Installer <https://github.com/kennethreitz/osx-gcc-installer#readme>`_
|
Apple account) or the even smaller `OSX-GCC-Installer <https://github.com/kennethreitz/osx-gcc-installer#readme>`_
|
||||||
package.
|
package.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
If you already have XCode installed, do not install OSX-GCC-Installer.
|
If you already have Xcode installed, do not install OSX-GCC-Installer.
|
||||||
In combination, the software can cause issues that are difficult to
|
In combination, the software can cause issues that are difficult to
|
||||||
diagnose.
|
diagnose.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
If you perform a fresh install of XCode, you will also need to add the
|
If you perform a fresh install of Xcode, you will also need to add the
|
||||||
commandline tools by running ``xcode-select --install`` on the terminal.
|
commandline tools by running ``xcode-select --install`` on the terminal.
|
||||||
|
|
||||||
While OS X comes with a large number of UNIX utilities, those familiar with
|
While OS X comes with a large number of UNIX utilities, those familiar with
|
||||||
@@ -46,7 +46,7 @@ Linux systems will notice one key component missing: a package manager.
|
|||||||
`Homebrew <http://brew.sh>`_ fills this void.
|
`Homebrew <http://brew.sh>`_ fills this void.
|
||||||
|
|
||||||
To `install Homebrew <http://brew.sh/#install>`_, open :file:`Terminal` or
|
To `install Homebrew <http://brew.sh/#install>`_, open :file:`Terminal` or
|
||||||
your favorite OSX terminal emulator and run
|
your favorite OS X terminal emulator and run
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ Installing Python 3 on Windows
|
|||||||
.. image:: /_static/photos/34435689480_2e6f358510_k_d.jpg
|
.. image:: /_static/photos/34435689480_2e6f358510_k_d.jpg
|
||||||
|
|
||||||
First, follow the installation instructions for `Chocolatey <https://chocolatey.org/install>`_.
|
First, follow the installation instructions for `Chocolatey <https://chocolatey.org/install>`_.
|
||||||
It's a community system packager manager for Windows 7+. (It's very much like Homebrew on OSX.)
|
It's a community system packager manager for Windows 7+. (It's very much like Homebrew on OS X.)
|
||||||
|
|
||||||
Once done, installing Python 3 is very simple, because Chocolatey pushes Python 3 as the default.
|
Once done, installing Python 3 is very simple, because Chocolatey pushes Python 3 as the default.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user