Thread: [Epydoc-commits] SF.net SVN: epydoc: [1428] trunk/epydoc/src/setup.py
Brought to you by:
edloper
From: <dva...@us...> - 2007-01-30 11:35:51
|
Revision: 1428 http://svn.sourceforge.net/epydoc/?rev=1428&view=rev Author: dvarrazzo Date: 2007-01-30 03:35:50 -0800 (Tue, 30 Jan 2007) Log Message: ----------- - Hashbang fixed - Description fixed Modified Paths: -------------- trunk/epydoc/src/setup.py Modified: trunk/epydoc/src/setup.py =================================================================== --- trunk/epydoc/src/setup.py 2007-01-29 01:11:49 UTC (rev 1427) +++ trunk/epydoc/src/setup.py 2007-01-30 11:35:50 UTC (rev 1428) @@ -1,7 +1,6 @@ -#!/usr/local/bin/python +#! /usr/bin/env python # -# Distutils setup script for the Natural Language -# Processing Toolkit +# Edward Loper's API Documentation Generation Tool # # Created [05/27/01 09:04 PM] # Edward Loper This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dva...@us...> - 2007-02-19 01:23:59
|
Revision: 1532 http://svn.sourceforge.net/epydoc/?rev=1532&view=rev Author: dvarrazzo Date: 2007-02-18 17:23:58 -0800 (Sun, 18 Feb 2007) Log Message: ----------- - Added script apirst2html.py to the package. Modified Paths: -------------- trunk/epydoc/src/setup.py Modified: trunk/epydoc/src/setup.py =================================================================== --- trunk/epydoc/src/setup.py 2007-02-18 23:07:25 UTC (rev 1531) +++ trunk/epydoc/src/setup.py 2007-02-19 01:23:58 UTC (rev 1532) @@ -19,6 +19,8 @@ else: SCRIPTS = ['scripts/epydoc', 'scripts/epydocgui'] +SCRIPTS.append('scripts/apirst2html.py') + setup(name="epydoc", description="Edward Loper's API Documentation Generation Tool", version=VERSION, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ed...@us...> - 2008-01-30 18:43:55
|
Revision: 1694 http://epydoc.svn.sourceforge.net/epydoc/?rev=1694&view=rev Author: edloper Date: 2008-01-30 10:43:49 -0800 (Wed, 30 Jan 2008) Log Message: ----------- Added more metadata, for pypi index. Modified Paths: -------------- trunk/epydoc/src/setup.py Modified: trunk/epydoc/src/setup.py =================================================================== --- trunk/epydoc/src/setup.py 2008-01-30 18:43:30 UTC (rev 1693) +++ trunk/epydoc/src/setup.py 2008-01-30 18:43:49 UTC (rev 1694) @@ -13,6 +13,29 @@ (AUTHOR, EMAIL) = re.match('^(.*?)\s*<(.*)>$', epydoc.__author__).groups() URL = epydoc.__url__ LICENSE = epydoc.__license__ +KEYWORDS='docstring restructuredtext rst javadoc docformat pydoc epydoc' +LONG_DESCRIPTION = """\ +Epydoc is a tool for generating API documentation documentation for +Python modules, based on their docstrings. For an example of epydoc's +output, see the API documentation for epydoc itself (`html +<http://epydoc.sf.net/api/>`__\ , `pdf +<http://epydoc.sf.net/epydoc.pdf>`__\ ). A lightweight markup +language called `epytext <http://epydoc.sf.net/epytextintro.html>`__ +can be used to format docstrings, and to add information about +specific fields, such as parameters and instance variables. Epydoc +also understands docstrings written in `reStructuredText +<http://docutils.sourceforge.net/rst.html>`__\ , Javadoc, and +plaintext. For a more extensive example of epydoc's output, see the +API documentation for `Python 2.5 +<http://epydoc.sourceforge.net/stdlib/>`__\ .""" +CLASSIFIERS=[ + 'Development Status :: 5 - Production/Stable', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: MIT License', + 'Programming Language :: Python', + 'Topic :: Documentation', + 'Topic :: Software Development :: Documentation', + ] if '--format=wininst' in sys.argv: SCRIPTS = ['scripts/epydoc.pyw', 'scripts/epydoc.py'] @@ -29,5 +52,8 @@ license=LICENSE, url=URL, scripts=SCRIPTS, + keywords=KEYWORDS.split(), + classifiers=CLASSIFIERS, + long_description=LONG_DESCRIPTION, packages=['epydoc', 'epydoc.markup', 'epydoc.test', 'epydoc.docwriter']) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ed...@us...> - 2008-01-30 18:46:34
|
Revision: 1695 http://epydoc.svn.sourceforge.net/epydoc/?rev=1695&view=rev Author: edloper Date: 2008-01-30 10:46:32 -0800 (Wed, 30 Jan 2008) Log Message: ----------- - Only use 'classifiers' metadata if py version >= 2.4 Modified Paths: -------------- trunk/epydoc/src/setup.py Modified: trunk/epydoc/src/setup.py =================================================================== --- trunk/epydoc/src/setup.py 2008-01-30 18:43:49 UTC (rev 1694) +++ trunk/epydoc/src/setup.py 2008-01-30 18:46:32 UTC (rev 1695) @@ -37,6 +37,12 @@ 'Topic :: Software Development :: Documentation', ] +# Classifiers metadata only supported for Python 2.4+ +if sys.version_info[:2] >= (2,4): + other_metadata = dict(classifiers=CLASSIFIERS) +else: + other_metadata = {} + if '--format=wininst' in sys.argv: SCRIPTS = ['scripts/epydoc.pyw', 'scripts/epydoc.py'] else: @@ -53,7 +59,7 @@ url=URL, scripts=SCRIPTS, keywords=KEYWORDS.split(), - classifiers=CLASSIFIERS, long_description=LONG_DESCRIPTION, - packages=['epydoc', 'epydoc.markup', 'epydoc.test', 'epydoc.docwriter']) + packages=['epydoc', 'epydoc.markup', 'epydoc.test', 'epydoc.docwriter'], + **other_metadata) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |