Changeset 221:4b85b71a8cf9 in livinglogic.python.orasql

Show
Ignore:
Timestamp:
01/30/08 11:11:04 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Fix download URL and generated description.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • setup.py

    r210 r221  
    1414 
    1515DESCRIPTION = """ 
    16 ll-orasql contains utilities for working with ``cx_Oracle``: It allows 
     16ll-orasql contains utilities for working with :mod:`cx_Oracle`: It allows 
    1717calling Oracle procedures via keyword arguments, it wraps the result of 
    1818fetch calls in a custom dictionary and it contains some utilitiy functions 
     
    4444    description = DESCRIPTION.strip() 
    4545else: 
     46    # Extract the first section (which are the changes for the current version) 
    4647    underlines = [i for (i, line) in enumerate(news) if line.startswith("---")] 
    4748    news = news[underlines[0]-1:underlines[1]-1] 
    4849    news = "".join(news) 
    49     description = "%s\n\n\n%s" % (DESCRIPTION.strip(), news) 
     50    descr = "%s\n\n\n%s" % (DESCRIPTION.strip(), news) 
     51 
     52    # Get rid of text roles PyPI doesn't know about 
     53    descr = re.subn(":[a-z]+:`([a-zA-Z0-9_.]+)`", "``\\1``", descr)[0] 
    5054 
    5155 
    5256args=dict( 
    5357    name="ll-orasql", 
    54     version="1.18", 
     58    version="1.19", 
    5559    description="Utilities for working with cx_Oracle", 
    56     long_description=description, 
     60    long_description=descr, 
    5761    author=u"Walter Doerwald", 
    5862    author_email="walter@livinglogic.de", 
    5963    url="http://www.livinglogic.de/Python/orasql/", 
    60     download_url="http://www.livinglogic.de/Python/orasql/Download.html", 
     64    download_url="http://www.livinglogic.de/Python/Download.html#orasql", 
    6165    license="Python", 
    6266    classifiers=CLASSIFIERS.strip().splitlines(), 
     
    8185    ], 
    8286    install_requires=[ 
    83         "ll-core >= 1.7.3", 
     87        "ll-xist >= 3.2", 
    8488        "cx_Oracle >= 4.2.1", 
    8589    ],