[Python-checkins] python/dist/src/Doc/whatsnew whatsnew23.tex,1.110,1.111
akuchling@users.sourceforge.net
akuchling@users.sourceforge.net
Mon, 27 Jan 2003 08:36:39 -0800
Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1:/tmp/cvs-serv32451
Modified Files:
whatsnew23.tex
Log Message:
Update register example
Index: whatsnew23.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew23.tex,v
retrieving revision 1.110
retrieving revision 1.111
diff -C2 -d -r1.110 -r1.111
*** whatsnew23.tex 17 Jan 2003 22:50:10 -0000 1.110
--- whatsnew23.tex 27 Jan 2003 16:36:34 -0000 1.111
***************
*** 727,742 ****
\citetitle[http://www.tuxedo.org/\%7Eesr/trove/]{Trove}-style strings can be supplied to help classify the software.
! Here's an example \file{setup.py} with classifiers:
\begin{verbatim}
! setup (name = "Quixote",
! version = "0.5.1",
! description = "A highly Pythonic Web application framework",
! ...
! classifiers= ['Topic :: Internet :: WWW/HTTP :: Dynamic Content',
! 'Environment :: No Input/Output (Daemon)',
! 'Intended Audience :: Developers'],
...
)
\end{verbatim}
--- 727,749 ----
\citetitle[http://www.tuxedo.org/\%7Eesr/trove/]{Trove}-style strings can be supplied to help classify the software.
! Here's an example \file{setup.py} with classifiers, written to be compatible
! with older versions of the Distutils:
\begin{verbatim}
! from distutils import core
! kw = ('name': "Quixote",
! 'version': "0.5.1",
! 'description': "A highly Pythonic Web application framework",
...
)
+
+ if (hasattr(core, 'setup_keywords') and
+ 'classifiers' in core.setup_keywords):
+ kw['classifiers'] = \
+ ['Topic :: Internet :: WWW/HTTP :: Dynamic Content',
+ 'Environment :: No Input/Output (Daemon)',
+ 'Intended Audience :: Developers'],
+
+ core.setup (**kw)
\end{verbatim}
***************
*** 1280,1285 ****
\envvar{LDFLAGS}, and \envvar{CPPFLAGS} environment variables, using
them to override the settings in Python's configuration (contributed
! by Robert Weber); the \function{get_distutils_options()} method lists
! recently-added extensions to Distutils.
\item The \module{getopt} module gained a new function,
--- 1287,1291 ----
\envvar{LDFLAGS}, and \envvar{CPPFLAGS} environment variables, using
them to override the settings in Python's configuration (contributed
! by Robert Weber).
\item The \module{getopt} module gained a new function,