#!/usr/local/bin/python2.3
# -*- coding: utf-8 -*-
def check_versions():
import sys
major, minor = sys.version_info[0:2]
if major < 2 or minor < 3:
raise AssertionError(
"Python 2.3 or later required, but sys.version_info = %r" %
(sys.version_info, )
)
try:
import svn
except:
print >> sys.stderr, \
"WARNING: Subversion/Python bindings could not be imported"
def setup():
from distutils import core
core.setup(
name = "svnmailer",
version = "1.0.8",
description = "Feature rich subversion commit notification tool",
author = "André Malo",
author_email = "nd@perlig.de",
url = "http://opensource.perlig.de/svnmailer/",
license = "Apache License 2.0",
package_dir = {'': 'src/lib'},
packages = ['svnmailer', 'svnmailer.notifier'],
scripts = ['src/svn-mailer'],
)
########### main ############
check_versions()
setup()
syntax highlighted by Code2HTML, v. 0.9.1