Changeset 149

Show
Ignore:
Timestamp:
03/27/2004 12:39:29 PM (5 years ago)
Author:
mwm
Message:

Get a distutils in places that works so CVS users can use it. It's still not finished,
though.

Change examples to use /usr/bin/env python so they are portable.

Location:
trunk
Files:
1 added
2 removed
7 modified

Legend:

Unmodified
Added
Removed
  • trunk/INSTALL

    r44 r149  
    44* Requirements 
    55 
    6 PLWM requires Python 1.5.2 or newer, which can be downloaded from 
    7 http://www.python.org/.  It has been tested with Python 1.5.2, 2.0 and 
    8 2.1.  
     6PLWM requires Python 2.0 or newer, which can be downloaded from 
     7http://www.python.org/.  It has been tested with Python 2.0, 2.1, 2.2 
     8and 2.3. 
    99 
    1010It also requires the Python X Library 0.8 or newer, which can be 
     
    1414* Configuring 
    1515 
    16 PLWM uses autoconf to make installation fairly painless.  Simply run 
    17 ./configure to install with defaults (plwm and wmm in 
    18 /usr/local/bin, Python modules in whatever directory Python is 
    19 installed in). 
    20  
    21  
    22 To install in another program directory, use --prefix, --exec-prefix 
    23 or --bindir. 
    24  
    25 To install the modules in some other directory than a the default 
    26 site-packages (typically /usr/lib/python1.5/site-packages) specify 
    27 that directory as an argument to --with-python-path. 
    28  
    29 If the Python X Library isn't in Python's module path (PYTHONPATH or 
    30 sys.path), the location can be specified with --with-python-xlib. 
    31  
    32 Normally examples/examplewm.py is installed as plwm, but this can be changed 
    33 with --enable-plwm.  To install examples/petliwm.py instead, use: 
    34  
    35   ./configure --enable-plwm=examples/petliwm.py 
    36  
    37 To inhibit installation of the program plwm use --disable-plwm. 
    38  
    39  
    40 The Window Manager Manager is installed as wmm, this can be disabled 
    41 by using --disable-wmm. 
    42  
     16Configuration is done by the Python distutils package as part of the 
     17isntallation process. 
    4318 
    4419* Building 
     
    5126Just type: 
    5227 
    53   make install 
     28    python setup.py install 
     29   
     30* Using it. 
    5431 
    55    
     32There are a number of example window managers in examples/. Running 
     33the examples will start that window manager. Examing the examples is 
     34the best way to get a feel for how to configure a plwm window manager. 
     35 
    5636* Using plwm without installing 
    5737 
     
    6040in /home/foo): 
    6141 
    62   /home/foo/plwm-2.0/examples/examplewm.py 
     42  /home/foo/plwm-2.6/examples/examplewm.py 
    6343   
  • trunk/Manifest

    r114 r149  
    55INSTALL 
    66README 
    7 Makefile.in 
    87NEWS 
    98ONEWS 
    10 configure 
    11 configure.in 
    12 install-plwm.sh.in 
    13 install-sh 
    149doc/.cvsignore 
    1510doc/Makefile 
     
    2318examples/petliwm.py 
    2419examples/plpwm.py 
     20examples/hrwwm.py 
     21examples/senapwm.py 
     22examples/test.py 
    2523plwm/ChangeLog 
    2624plwm/.cvsignore 
     
    4038plwm/message.py 
    4139plwm/misc.py 
     40plwm/mixer.py 
    4241plwm/modestatus.py 
    4342plwm/modewindow.py 
  • trunk/examples/examplewm.py

    r114 r149  
    1 #!/usr/bin/python 
     1#!/usr/bin/env python 
    22# 
    33# petliwm.py -- Example PLWM window manager "configuration" 
  • trunk/examples/hrwwm.py

    r5 r149  
    1 #!/usr/local/bin/python 
     1#!/usr/bin/env python 
    22# 
    33# hrwwm.py -- Example PLWM window manager "configuration" 
  • trunk/examples/petliwm.py

    r143 r149  
    1 #!/usr/bin/python 
     1#!/usr/bin/env python 
    22# 
    33# petliwm.py -- My PLWM "configuration" 
  • trunk/examples/plpwm.py

    r147 r149  
    1 #!/usr/bin/python 
    2 # $Id: plpwm.py,v 1.33 2004-03-15 00:15:46 mwm Exp $ 
     1#!/usr/bin/env python 
     2# $Id: plpwm.py,v 1.34 2004-03-27 18:39:29 mwm Exp $ 
    33# 
    44# plpwm.py -- Exemple PLWM window manager configuration with panes. 
  • trunk/examples/senapwm.py

    r5 r149  
    1 #!/usr/bin/python 
     1#!/usr/bin/env python 
    22# 
    33# senapwm.py -- Example PLWM window manager "configuration"