From 1846c9bcd8b71f39dc99e45c9839169bacafa1ba Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Sun, 11 Feb 2007 19:08:37 +0000 Subject: [PATCH] - new listclients script - distutils setup script - moved scripts to bin subdirectory git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@218 a67ec6bc-e5d5-0310-a910-815c51eb3124 --- setup.py | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/setup.py b/setup.py index b79b46c..648cedf 100644 --- a/setup.py +++ b/setup.py @@ -20,14 +20,25 @@ # # Version: $Id$ -from distutils.core import setup +from setuptools import setup,find_packages -setup(name='gnuviechadmin', - version='0.1', - description='gnuviechadmin server administration suite', - author='Jan Dittberner', - author_email='jan@dittberner.info', - url='http://www.gnuviech-server.de/gnuviechadmin', - packages=['gnuviechadmin'], - scripts=['bin/createclient', 'bin/listclients'], - ) +try: + import buildutils +except ImportError: + pass + +setup( + name = 'gnuviechadmin', + version = '0.1', + description = 'gnuviechadmin server administration suite', + long_description = """this is a suite of tools for administering a server +it contains tools for maintaining e.g. clients, domains, users, mail +accounts""", + author = 'Jan Dittberner', + author_email = 'jan@dittberner.info', + url = 'http://www.gnuviech-server.de/gnuviechadmin', + packages = ['gnuviechadmin'], + scripts = ['bin/createclient', 'bin/listclients'], + install_requires = ['sqlalchemy >= 0.3.0'], + license= 'GPL', + )