~ubuntu-branches/debian/experimental/spyder/experimental

« back to all changes in this revision

Viewing changes to README.md

  • Committer: Package Import Robot
  • Author(s): Picca Frédéric-Emmanuel
  • Date: 2014-05-29 09:06:26 UTC
  • mfrom: (1.1.21) (18.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20140529090626-f58t82g0n5iewaxu
Tags: 2.3.0~rc+dfsg-1~experimental2
* Add spyder-common binary package for all the python2,3 common files
* debian/path
  - 0001-fix-documentation-installation.patch (deleted)
  + 0001-fix-spyderlib-path.patch (new)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Spyder - The Scientific PYthon Development EnviRonment
 
2
 
 
3
Copyright © 2009-2013 Pierre Raybaut.
 
4
Licensed under the terms of the MIT License
 
5
(see `spyderlib/__init__.py` for details)
 
6
 
 
7
 
 
8
## Overview
 
9
 
 
10
Spyder is a Python development environment with tons of features:
 
11
    
 
12
* Editor
 
13
    
 
14
    Multi-language editor with function/class browser, code analysis
 
15
    features (pyflakes and pylint are currently supported), code
 
16
    completion, horizontal and vertical splitting, and goto definition.
 
17
 
 
18
* Interactive console
 
19
 
 
20
    Python or IPython consoles with workspace and debugging support to
 
21
    instantly evaluate the code written in the Editor. It also comes
 
22
    with Matplotlib figures integration. 
 
23
 
 
24
* Documentation viewer
 
25
 
 
26
    Show documentation for any class or function call made either in the
 
27
    Editor or a Console.
 
28
 
 
29
* Variable explorer
 
30
 
 
31
    Explore variables created during the execution of a file. Editing
 
32
    them is also possible with several GUI based editors, like a
 
33
    dictionary and Numpy array ones.
 
34
 
 
35
* Find in files feature
 
36
 
 
37
    Supporting regular expressions and mercurial repositories
 
38
 
 
39
* File/directories explorer
 
40
 
 
41
* History log
 
42
 
 
43
Spyder may also be used as a PyQt4/PySide extension library (module 
 
44
`spyderlib`). For example, the Python interactive shell widget used in
 
45
Spyder may be embedded in your own PyQt4/PySide application.
 
46
 
 
47
 
 
48
## Installation
 
49
    
 
50
This section explains how to install the latest stable release of 
 
51
Spyder. If you prefer testing the development version, please use 
 
52
the `bootstrap` script (see next section).
 
53
 
 
54
The easiest way to install Spyder is:
 
55
            
 
56
* On Windows:
 
57
 
 
58
    - Using one of our executable installers, which can be found
 
59
      [here](http://spyderlib.googlecode.com/downloads).
 
60
    - Or using one of these scientific Python distributions:
 
61
        1. [Python(x,y)](http://pythonxy.googlecode.com)
 
62
        2. [WinPython](http://code.google.com/p/winpython/)
 
63
        3. [Anaconda](http://continuum.io/downloads)
 
64
 
 
65
* On Mac OSX:
 
66
 
 
67
    - Using our DMG installer, which can be found
 
68
      [here](http://spyderlib.googlecode.com/downloads).
 
69
    - Using the [Anaconda Distribution](http://continuum.io/downloads).
 
70
    - Through [MacPorts](http://www.macports.org/).
 
71
            
 
72
* On GNU/Linux
 
73
 
 
74
    - Through your distribution package manager (i.e. `apt-get`, `yum`,
 
75
    etc).
 
76
    - Using the [Anaconda Distribution](http://continuum.io/downloads).
 
77
    - Installing from source (see below).
 
78
 
 
79
### Installing from source
 
80
 
 
81
You can also install Spyder from its zip source package. For that you need to
 
82
download and uncompress the file called `spyder-x.y.z.zip`, which can be
 
83
found [here](http://spyderlib.googlecode.com/downloads). Then you need to
 
84
use the integrated `setup.py` script that comes with it and which is based
 
85
on the Python standard library `distutils` module, with the following command:
 
86
 
 
87
    python setup.py install
 
88
 
 
89
Note that `distutils` does *not* uninstall previous versions of Python 
 
90
packages: it simply copies files on top of an existing installation. 
 
91
When using this command, it is thus highly recommended to uninstall 
 
92
manually any previous version of Spyder by removing the associated 
 
93
directories ('spyderlib' and 'spyderplugins') from your site-packages 
 
94
directory).
 
95
 
 
96
From the [Python package index](http://pypi.python.org/pypi), you also
 
97
may install Spyder *and* upgrade an existing installation using `pip`
 
98
with this command
 
99
 
 
100
    pip install --upgrade spyder
 
101
 
 
102
For more details on supported platforms, please go to
 
103
<http://pythonhosted.org/spyder/installation.html>.
 
104
 
 
105
 
 
106
## Dependencies
 
107
 
 
108
*Imnportant note*: Most if not all the dependencies listed below come
 
109
with Python(x,y), WinPython and Anaconda, so you don't need to install
 
110
them separately when installing one of these scientific Python
 
111
distributions.
 
112
 
 
113
### Build dependencies
 
114
 
 
115
When installing Spyder from its source package (using the command
 
116
`python setup.py install`), the only requirements is to have a Python version
 
117
greater than 2.6.
 
118
 
 
119
### Runtime dependencies
 
120
 
 
121
* Python 2.6+
 
122
 
 
123
* PyQt4 4.6+ or PySide 1.2.0+ (PyQt4 is recommended)
 
124
            
 
125
### Recommended modules
 
126
 
 
127
* Rope v0.9.2+ (editor code completion, calltips and go-to-definition)
 
128
 
 
129
* Pyflakes v0.5.0+ (real-time code analysis)
 
130
 
 
131
* Sphinx v0.6+ (object inspector's rich text mode)
 
132
 
 
133
* Numpy (N-dimensional arrays)
 
134
 
 
135
* Scipy (signal/image processing)
 
136
 
 
137
* Matplotlib (2D/3D plotting)
 
138
 
 
139
* IPython 0.13 (enhanced Python interpreter)
 
140
 
 
141
    In Ubuntu you need to install `ipython-qtconsole`, on Fedora
 
142
    `ipython-gui` and on Gentoo `ipython` with the `qt4` USE flag.
 
143
 
 
144
### Optional modules
 
145
 
 
146
* Pygments (syntax highlighting for several file types).
 
147
 
 
148
* Pylint (static code analysis).
 
149
 
 
150
* Pep8 (style analysis).
 
151
 
 
152
 
 
153
## Running from source
 
154
 
 
155
It is possible to run Spyder directly (i.e. without installation)
 
156
from the unpacked zip folder (see *Installing from source*) using
 
157
Spyder's bootstrap script like this:
 
158
 
 
159
    python bootstrap.py
 
160
 
 
161
This is especially useful for beta-testing, troubleshooting 
 
162
and development of Spyder itself.
 
163
 
 
164
 
 
165
## Build Windows installers
 
166
 
 
167
From the source package, you may build Windows installers to distribute
 
168
Spyder on all supported platforms and versions of Python.
 
169
 
 
170
Spyder has a single code base supporting both Python 2 and Python 3 but
 
171
the Windows installer will target a specific version of Python because
 
172
of the two external libraries included in the Windows installers
 
173
('pyflakes' and 'rope') which have specific versions for Python 2 and 3.
 
174
 
 
175
Moreover, despite the fact that Spyder code base supports all Python
 
176
architectures (32 and 64bit), the Windows installers will also target
 
177
specific architectures because of a limitation of the way `distutils`
 
178
works (see <http://bugs.python.org/issue6792>).
 
179
 
 
180
Example of Spyder binary installers for Windows:
 
181
 
 
182
* Python 2.7 and 32bit: spyder-2.3.0-win32-py2.7.exe
 
183
* Python 2.7 and 64bit: spyder-2.3.0-win-amd64-py2.7.exe
 
184
* Python 3.3 and 32bit: spyder-2.3.0-win32-py3.3.exe
 
185
* Python 3.3 and 64bit: spyder-2.3.0-win-amd64-py3.3.exe
 
186
 
 
187
 
 
188
## More information
 
189
 
 
190
* For code development please go to
 
191
 
 
192
    <https://bitbucket.org/spyder-ide/spyderlib/>
 
193
    
 
194
* For bug reports and feature requests
 
195
           
 
196
    <http://code.google.com/p/spyderlib/issues>
 
197
 
 
198
* For discussions and troubleshooting:
 
199
 
 
200
    <http://groups.google.com/group/spyderlib>