#!/usr/bin/env python # Copyright 2009 Antoine d'Otreppe de Bouvette # # This file is part of the Aspyct library. see http://www.aspyct.org # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see . import sys from distutils.core import setup import Aspyct modules = ["Aspyct.__init__", "Aspyct.core.__init__", "Aspyct.core.common", "Aspyct.aop", "Aspyct.utils", "Aspyct.unit", "Aspyct.meta", "Aspyct.registry", "Aspyct.web", "Aspyct.exception"] if sys.version_info[0] == 2: modules.append("Aspyct.core.py2x") else: modules.append("Aspyct.core.py3x") setup(name="Aspyct", version=Aspyct.VERSION.replace(' ', '_'), description="Python 2.x and 3.x library including aspect oriented programming (AOP)," + " unit testing tools and other general-purpose tools.", author="Antoine d'Otreppe de Bouvette", author_email="a.dotreppe@aspyct.org", url="http://www.aspyct.org/", py_modules=modules, license="GNU/LGPL")