File: installation.rst

package info (click to toggle)
python-atom 0.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,616 kB
  • sloc: cpp: 9,040; python: 6,249; makefile: 123
file content (65 lines) | stat: -rw-r--r-- 1,868 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
.. _basis-installation:

.. include:: ../substitutions.sub

===============
Installing Atom
===============

Atom is supported on Python 2.7, and 3.4+. Installing it is a straight-forward
process. There are three approaches to choose from.

The easy way: Pre-compiled packages
-----------------------------------

The easiest way to install atom is through pre-compiled packages. Atom is
distributed pre-compiled in two-forms.

Conda packages
^^^^^^^^^^^^^^

If you use the `Anaconda`_ Python distribution platform (or `Miniconda`_, its
lighter-weight companion), the latest release of Atom can be installed using
conda from the default channel or the conda-forge channel::

    $ conda install atom

    $ conda install atom -c conda-forge

.. _Anaconda: https://store.continuum.io/cshop/anaconda
.. _Miniconda: https://conda.io/miniconda.html

Wheels
^^^^^^

If you don't use Anaconda, you can install Atom pre-compiled, through PIP,
for most common platforms::

    $ pip install atom

Compiling it yourself: The Hard Way
-----------------------------------

Building atom from scratch requires Python and a C++ compiler. On Unix platform
getting a C++ compiler properly configured is generally straighforward. On
Windows, starting with Python 3.6 the free version of the Microsoft toolchain
should work out of the box. Installing atom is then as simple as::

    $ pip install .

.. note::

    For MacOSX users on OSX Mojave, one needs to set MACOSX_DEPLOYMENT_TARGET
    to higher than 10.9 to force teh compiler to use the new C++ stdlib::

        $ export MACOSX_DEPLOYMENT_TARGET=10.10


Supported Platforms
-------------------

Atom is known to run on Windows, OSX, and Linux; and compiles cleanly
with MSVC, Clang, GCC, and MinGW. If you encounter a bug, please report
it on the `Issue Tracker`_.

.. _Issue Tracker: http://github.com/nucleic/enaml/issues