Changeset 16:e4865b39c0d0 in livinglogic.python.aplora

Show
Ignore:
Timestamp:
01/06/08 19:59:55 (11 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Stop using cx_Oracle.Timestamp. Use ReST for documentation.

Files:
2 added
5 modified
1 moved

Legend:

Unmodified
Added
Removed
  • MANIFEST.in

    r1 r16  
    1 include README 
    2 include NEWS 
     1include README.rst 
     2include NEWS.rst 
    33include NEWS.xml 
    4 include INSTALL 
     4include INSTALL.rst 
    55include INSTALL.xml 
    66include aplora.sql 
  • Makefile

    r5 r16  
    1 # $Header$ 
    2  
    31# List of pseudo targets 
    4 .PHONY: all clean dist windist 
    5  
    6 # Output directory 
    7 OUTPUTDIR=$(HOME)/pythonroot 
    8  
    9 all: 
    10     python$(PYVERSION) setup.py install --install-lib $(OUTPUTDIR) 
    11  
    12 clean: 
    13     python$(PYVERSION) setup.py clean 
     2.PHONY: install dist windist 
    143 
    154install: 
     
    176 
    187dist: 
    19     python$(PYVERSION) `which doc2txt.py` --title "History" NEWS.xml NEWS 
    20     python$(PYVERSION) `which doc2txt.py` --title "Requirements, installation and configuration" INSTALL.xml INSTALL 
    218    python$(PYVERSION) setup.py sdist --formats=bztar,gztar 
    22     rm NEWS INSTALL 
    239 
    2410windist: 
    25     python$(PYVERSION) C:\\\\Programme\\\\Python24\\\\Scripts\\\\doc2txt.py --title "History" NEWS.xml NEWS 
    26     python$(PYVERSION) C:\\\\Programme\\\\Python24\\\\Scripts\\doc2txt.py --title "Requirements, installation and configuration" INSTALL.xml INSTALL 
    2711    python$(PYVERSION) setup.py sdist --formats=zip 
    28     rm NEWS INSTALL 
  • NEWS.xml

    r9 r16  
     1<section><title>Changes in 0.3 (released 01/07/2008)</title> 
     2<ulist> 
     3<item>Use <class>datetime.datetime</class> directly instead of going through 
     4<class>cx_Oracle.Timestamp</class> (this requires a modern version of 
     5<mod>cx_Oracle</mod>.</item> 
     6</ulist> 
     7</section> 
     8 
     9 
    110<section><title>Changes in 0.2 (released 04/04/2005)</title> 
    211<ulist> 
  • README.rst

    r9 r16  
    1 ll-aplora 0.2 
     1ll-aplora 
     2========= 
    23 
    34ll-aplora is script that can be used with Apache piped logging facility to 
    45log request to an Oracle database. 
    56 
    6 For documentation read aplora.py. 
     7For documentation read ``aplora.py``. 
    78 
    8 For requirements and installation instructions read INSTALL. 
     9For requirements and installation instructions read ``INSTALL.rst``. 
    910 
    10 For a list of new features and bugfixes read NEWS. 
     11For a list of new features and bugfixes read ``NEWS.rst``. 
    1112 
    12 For the license read aplora.py. 
     13For the license read ``aplora.py``. 
    1314 
    1415Aplora is available from ftp://ftp.livinglogic.de/pub/livinglogic/aplora/ 
     
    1718 
    1819If you have difficulties installing this software, send a problem report 
    19 to Walter Dörwald <walter@livinglogic.de> describing the problem. 
     20to Walter Dörwald (walter@livinglogic.de) describing the problem. 
  • aplora.py

    r0 r16  
    1 #!/usr/local/bin/python2.3 
    2 # -*- coding: iso-8859-1 -*- 
     1#!/usr/local/bin/python 
     2# -*- coding: utf-8 -*- 
    33 
    4 ## Copyright 2004/2005 by LivingLogic AG, Bayreuth/Germany. 
    5 ## Copyright 2004/2005 by Walter Dörwald 
     4## Copyright 2004-2008 by LivingLogic AG, Bayreuth/Germany. 
     5## Copyright 2004-2008 by Walter Dörwald 
    66## 
    77## All Rights Reserved 
     
    2626""" 
    2727 
    28 __version__ = "$Revision$"[11:-1] 
     28__docformat__ = "plaintext" 
    2929 
    3030 
     
    9999            sessionin = field.next() 
    100100            sessionout = field.next() 
    101      
    102             reqstart = self.cx_Oracle.Timestamp(reqstart.year, reqstart.month, reqstart.day, reqstart.hour, reqstart.minute, reqstart.second) 
    103      
     101 
    104102            (mimetype, options) = cgi.parse_header(contenttype) 
    105103            charset = options.get("charset", None) 
    106      
     104 
    107105            data = [ 
    108106                reqstart, 
  • setup.py

    r14 r16  
    3939setup( 
    4040    name="ll-aplora", 
    41     version="0.2", 
     41    version="0.3", 
    4242    description="Logging Apache requests to an Oracle database", 
    4343    long_description=DESCRIPTION,