[Modeling-cvs] NotificationFramework setup.py,1.10,1.11
Status: Abandoned
Brought to you by:
sbigaret
From: <sbi...@pr...> - 2004-02-01 13:00:48
|
Update of /cvsroot/modeling/NotificationFramework In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12735 Modified Files: setup.py Log Message: Updated w/ classifiers (for PyPi) Index: setup.py =================================================================== RCS file: /cvsroot/modeling/NotificationFramework/setup.py,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** setup.py 28 Sep 2003 00:12:09 -0000 1.10 --- setup.py 1 Feb 2004 12:58:56 -0000 1.11 *************** *** 4,8 **** # # Notification Framework: "Observer" Design Pattern for python ! # (c) 2001, 2002, 2003 Sebastien Bigaret # # This file is part of the Notification Framework. --- 4,8 ---- # # Notification Framework: "Observer" Design Pattern for python ! # (c) 2001, 2002, 2003 Sébastien Bigaret # # This file is part of the Notification Framework. *************** *** 23,33 **** # #----------------------------------------------------------------------------- ! from distutils.core import setup import glob, os ! short_description="Notification framework" ! long_description="Notification framework" setup(name="NotificationFramework", --- 23,61 ---- # #----------------------------------------------------------------------------- + """Notification Framework: Observer Design Pattern ! The Notification Framework allows one-to-many dependency between objects, ! where an object (the subject) can tell to an unknown number of objects (the ! observers) that an event occurred (typically, that the object has changed), ! without having any idea of who the observers are and where they live ! (abstract, minimal coupling). ! """ from distutils.core import setup import glob, os ! # Instruction for PyPi found at: ! # http://www.python.org/~jeremy/weblog/030924.html ! classifiers = """\ ! Development Status :: 5 - Production/Stable ! Intended Audience :: Developers ! License :: OSI Approved :: GNU General Public License (GPL) ! Operating System :: OS Independent ! Programming Language :: Python ! Natural Language :: English ! Natural Language :: French ! Topic :: Software Development :: Libraries ! Topic :: Software Development :: Libraries :: Application Frameworks ! Topic :: Software Development :: Libraries :: Python Modules ! """ ! if sys.version_info < (2, 3): ! _setup = setup ! def setup(**kwargs): ! if kwargs.has_key("classifiers"): ! del kwargs["classifiers"] ! _setup(**kwargs) ! ! doclines = __doc__.split("\n") ! short_description = doclines[0] ! long_description = "\n".join(doclines[2:]) setup(name="NotificationFramework", *************** *** 35,43 **** license ="GNU General Public License", description=short_description, ! author="Sébastien Bigaret", author_email="sbi...@us...", ! maintainer="Seb...@in...", maintainer_email="sbi...@us...", ! url="http://modeling.sourceforge.net/", package_dir={'NotificationFramework':'.'}, packages=['NotificationFramework'], --- 63,71 ---- license ="GNU General Public License", description=short_description, ! author="Sebastien Bigaret", author_email="sbi...@us...", ! maintainer="Sebastien Bigaret", maintainer_email="sbi...@us...", ! url="http://modeling.sourceforge.net/API/Notification-API/index.html", package_dir={'NotificationFramework':'.'}, packages=['NotificationFramework'], |