[Python-checkins] CVS: distutils/examples mxdatetime_setup.py,1.5,1.6
Greg Ward
python-dev@python.org
Sat, 24 Jun 2000 19:45:31 -0700
Update of /cvsroot/python/distutils/examples
In directory slayer.i.sourceforge.net:/tmp/cvs-serv16559
Modified Files:
mxdatetime_setup.py
Log Message:
Define the mxDateTime extension using the Extension class, instead of
the old-style list-of-tuples-of-etc. hairy mess.
Index: mxdatetime_setup.py
===================================================================
RCS file: /cvsroot/python/distutils/examples/mxdatetime_setup.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** mxdatetime_setup.py 2000/06/25 02:44:11 1.5
--- mxdatetime_setup.py 2000/06/25 02:45:29 1.6
***************
*** 54,61 ****
# XXX user might have to edit the macro definitions here: yuck!
# Probably do need to support 'Setup' file or something similar.
! ext_modules = [('DateTime.mxDateTime.mxDateTime',
! { 'sources': ['mxDateTime/mxDateTime.c'],
! 'include_dirs': ['mxDateTime'],
! }
! )]
)
--- 54,60 ----
# XXX user might have to edit the macro definitions here: yuck!
# Probably do need to support 'Setup' file or something similar.
! ext_modules = [Extension('DateTime.mxDateTime.mxDateTime',
! ['mxDateTime/mxDateTime.c'],
! include_dirs=['mxDateTime']),
! ]
)