~brian-sidebotham/wxwidgets-cmake/wxpython-2.9.4

« back to all changes in this revision

Viewing changes to wxPython/wx/tools/Editra/INSTALL

  • Committer: Brian Sidebotham
  • Date: 2013-08-03 14:30:08 UTC
  • Revision ID: brian.sidebotham@gmail.com-20130803143008-c7806tkych1tp6fc
Initial import into Bazaar

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Editra Installation Instructions for installing from source
 
2
 
 
3
Base Dependancies:
 
4
python 2.4 or higher (http://www.python.org)
 
5
wxPython 2.8.3 or higher (http://www.wxpython.org) (Unicode build suggested)
 
6
setuptools 0.6 or higher (http://peak.telecommunity.com/DevCenter/setuptools)
 
7
 
 
8
#--------------------------------------------------------------------------#
 
9
Option 1) Install Editra as a source package: [Linux/Macintosh/Unix/Windows]
 
10
 
 
11
When using the source scripts Editra doesn't actually need to be installed it
 
12
can be run by un-tarring the source package and executing the script called 
 
13
"Editra" in the the root of the un-tarred directory. Alternatively however, if 
 
14
you want the setup.py script will allow you to install it using distutils.
 
15
 
 
16
To install Editra using distutils just do the usual python thing and type:
 
17
 
 
18
python setup.py install
 
19
 
 
20
at your shells command prompt.
 
21
 
 
22
#--------------------------------------------------------------------------#
 
23
Option 2) Installing from Pypi: [Linux/Macintosh/Unix/Windows]
 
24
 
 
25
Editra is also available in the python package index and can be installed
 
26
from source using easy_install (bundled with setuptools).
 
27
 
 
28
easy_install editra
 
29
 
 
30
#--------------------------------------------------------------------------#
 
31
Option 3) Build a Windows exe: [Windows]
 
32
 
 
33
To build an exe of Editra for Windows, py2exe (http://www.py2exe.org) must 
 
34
be installed. After installing py2exe just do the following.
 
35
 
 
36
python setup.py py2exe --bundle 2
 
37
 
 
38
This will build an exe and place it in .\dist\
 
39
 
 
40
#--------------------------------------------------------------------------#
 
41
Option 4) Build a MacOSX app: [Macintosh OSX]
 
42
 
 
43
This requires having py2app (http://cheeseshop.python.org/pypi/py2app/) 
 
44
installed. If they are installed just issue the following command to 
 
45
build an applet.
 
46
 
 
47
python setup.py py2app
 
48
 
 
49
This will create a self contained applet in the ./dist/ directory
 
50
 
 
51
#--------------------------------------------------------------------------#
 
52
Option 5) Build as an egg: [Linux/Macintosh/Unix/Windows]
 
53
 
 
54
To make an Python Egg from Editra, setuptools is required. If setuptools is
 
55
installed the following command will build an egg that can be installed with
 
56
easy install (ez_install.py).
 
57
 
 
58
python setup.py bdist_egg
 
59
 
 
60
The Egg will be placed in ./dist/ and can be installed by doing the following
 
61
 
 
62
cd dist/
 
63
ez_install Editra-x.x.xx-pyXX.egg