[Subversion] / EccoDDE / setup.py  

View of /EccoDDE/setup.py

Parent Directory | Revision Log
Revision: 2588 - (download) (as text)
Fri Oct 31 17:20:08 2008 UTC (15 years, 5 months ago) by pje
File size: 1113 byte(s)
Bump version
#!/usr/bin/env python
"""Distutils setup file"""
import sys
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup

# Metadata
PROJECT = 'EccoDDE'
VERSION = '0.9.2'
TAGLINE = "Thin wrapper over the Ecco Personal Information Manager's DDE API"
PACKAGES   = []
NAMESPACES = []

def get_description():
    # Get our long description from the documentation
    f = file('README.txt')
    lines = []
    for line in f:
        if not line.strip():
            break     # skip to first blank line
    for line in f:
        if line.startswith('.. contents::'):
            break     # read to table of contents
        lines.append(line)
    f.close()
    return ''.join(lines)

setup(
    name=PROJECT, version=VERSION, description=TAGLINE,
    url = "http://pypi.python.org/pypi/" + PROJECT,
    download_url = "http://peak.telecommunity.com/snapshots/",
    long_description = get_description(),
    author="Phillip J. Eby", author_email="peak@eby-sarna.com",
    license="PSF or ZPL", test_suite = 'ecco_dde',
    py_modules = ['ecco_dde'],
    include_package_data = True, install_requires = []
)

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help