From: <jda...@us...> - 2008-01-06 18:00:22
|
Revision: 187 http://pyscard.svn.sourceforge.net/pyscard/?rev=187&view=rev Author: jdaussel Date: 2008-01-06 10:00:25 -0800 (Sun, 06 Jan 2008) Log Message: ----------- Reported support of Mac OS X Tiger, and instructions on installing/building on Tiger Modified Paths: -------------- trunk/pyscard/src/README trunk/pyscard/src/setup.py trunk/pyscard/src/smartcard/ChangeLog trunk/pyscard/src/smartcard/README trunk/pyscard/src/smartcard/doc/index.html Modified: trunk/pyscard/src/README =================================================================== --- trunk/pyscard/src/README 2008-01-04 16:26:29 UTC (rev 186) +++ trunk/pyscard/src/README 2008-01-06 18:00:25 UTC (rev 187) @@ -30,7 +30,8 @@ It consists of the smartcard.scard module, an extension module wrapping Windows smart card base components (also known as PCSC) on Windows, and PCSC lite on -linux, and of the smartcard module, a python framework hiding PCSC complexity. +linux and Mac OS X Tiger, and of the smartcard module, a python framework with +objects wrapping PCSC API. ------------------------------------------------------------------------------- @@ -126,24 +127,31 @@ This will build pyscard and install it in the site-packages directory of your python distribution, e.g. /usr/lib/python2.4/site-packages/smartcard. -Installation on Max OS X: -------------------------- +Installation on Max OS X Tiger: +-------------------------------- -Installing on Mac OS X from the binary distribution: -------------------------------------------------- +The Mac OS X Tiger support is experimental on pyscard 1.6.5. It was developed +and tested on a i386 MacBook Pro. Please drop me a mail if you succeed on a +ppc MacBook. +Installing on Mac OS X Tiger from the binary distribution: +---------------------------------------------------- + 1. download the binary distribution The binary distribution is an archive file, with a name similar to -pyscard-1.6.5.darwin-8.10.1-i686.tar.gz. +pyscard-1.6.5-py-2.3-macosx10.4.mpkg or pyscard-1.6.5-py-2.5-macosx10.4.mpkg. -2. untar the binary distribution +2. Open the package and proceed with installation. -With root privilege from a terminal, extract the archive from the root /. +Python 2.3 is pre-installed, so install pyscard-1.6.5-py-2.3-macosx10.4.mpkg if +you did not install another release of python. -Installing on Mac OS X from the source distribution ----------------------------------------------------- +Install pyscard-1.6.5-py-2.5-macosx10.4.mpkg if you installed python 2.5. +Installing on Mac OS X Tiger from the source distribution +---------------------------------------------------------- + 1. you will need swig 1.3.31 (http://www.swig.org); gcc and pcsc-lite are available out of the box on Max OS X darwin @@ -230,21 +238,32 @@ This will build in the dist directory a binary distribution with a name similar to pyscard-1.6.5-1.i386.rpm. -Building a binary distribution for Mac OS X -------------------------------------------- +Building a binary distribution for Mac OS X Tiger +------------------------------------------------- To build a binary distribution from the source distribution, you will need -swig 1.3.31 (same requirements as for installing from the source distribution). +swig 1.3.31 (same requirements as for installing from the source distribution) +and bdist_mpkg 0.4.3 (http://cheeseshop.python.org/pypi/bdist_mpkg/). -In the root directory of the source distribution, i.e. in the src directory, -execute the following command in a terminal: -python setup.py build_ext bdist +If you are using the pre-installed python 2.3 distributuion, in the root directory +of the source distribution, i.e. in the src directory, execute the following commands +in a terminal: -This will build a package similar to pyscard-1.6.5.darwin-8.10.1-i686.tar.gz -containing a binary distribution tree. +python setup.py build_ext +/System/Library/Frameworks/Python.Framework/Versions/2.3/bin/bdist_mpkg setup.py +This will build package pyscard-1.6.5-py-2.3-macosx10.4.mpkg. +If you are using python 2.5, in the root directory of the source distribution, +i.e. in the src directory, execute the following commands in a terminal: + +python setup.py build_ext +/Library/Frameworks/Python.Framework/Versions/2.5/bin/bdist_mpkg setup.py + +This will build package pyscard-1.6.5-py-2.6-macosx10.4.mpkg. + + ------------------------------------------------------------------------------- Issue Tracking ------------------------------------------------------------------------------- Modified: trunk/pyscard/src/setup.py =================================================================== --- trunk/pyscard/src/setup.py 2008-01-04 16:26:29 UTC (rev 186) +++ trunk/pyscard/src/setup.py 2008-01-06 18:00:25 UTC (rev 187) @@ -75,7 +75,8 @@ platform_include_dirs=['PCSC'] platform_extra_compile_args=['-v','-framework', 'PCSC', '-arch', 'i386', '-arch', 'ppc', '-ggdb', '-O0'] platform_extra_link_args=['-arch', 'i386', '-arch', 'ppc','-ggdb'] -else: +# Leopard not supported yet +#else: sys.exit("unsupported platform: " + get_platform() ) Modified: trunk/pyscard/src/smartcard/ChangeLog =================================================================== --- trunk/pyscard/src/smartcard/ChangeLog 2008-01-04 16:26:29 UTC (rev 186) +++ trunk/pyscard/src/smartcard/ChangeLog 2008-01-06 18:00:25 UTC (rev 187) @@ -3,7 +3,7 @@ * added sample_MonitorCardsAndTransmit.py sample to illustrate how to transmit apdu to a card notified by the card monitor * added support for SCardControl (Ludovic Rousseau) - * added support for Max OS X darwin (Ludovic Rousseau/Jean-Daniel Aussel) + * added support for Max OS X Tiger (Ludovic Rousseau/Jean-Daniel Aussel) (Leopard not supported) * added debian package directory (Ludovice Rousseau) * support for python 2.3, 2.4 and 2.5 distutils * automated insertion of sourceforge logo in html pages generated by epydoc Modified: trunk/pyscard/src/smartcard/README =================================================================== --- trunk/pyscard/src/smartcard/README 2008-01-04 16:26:29 UTC (rev 186) +++ trunk/pyscard/src/smartcard/README 2008-01-06 18:00:25 UTC (rev 187) @@ -30,7 +30,8 @@ It consists of the smartcard.scard module, an extension module wrapping Windows smart card base components (also known as PCSC) on Windows, and PCSC lite on -linux, and of the smartcard module, a python framework hiding PCSC complexity. +linux and Mac OS X Tiger, and of the smartcard module, a python framework with +objects wrapping PCSC API. ------------------------------------------------------------------------------- @@ -126,24 +127,31 @@ This will build pyscard and install it in the site-packages directory of your python distribution, e.g. /usr/lib/python2.4/site-packages/smartcard. -Installation on Max OS X: -------------------------- +Installation on Max OS X Tiger: +-------------------------------- -Installing on Mac OS X from the binary distribution: -------------------------------------------------- +The Mac OS X Tiger support is experimental on pyscard 1.6.5. It was developed +and tested on a i386 MacBook Pro. Please drop me a mail if you succeed on a +ppc MacBook. +Installing on Mac OS X Tiger from the binary distribution: +---------------------------------------------------- + 1. download the binary distribution The binary distribution is an archive file, with a name similar to -pyscard-1.6.5.darwin-8.10.1-i686.tar.gz. +pyscard-1.6.5-py-2.3-macosx10.4.mpkg or pyscard-1.6.5-py-2.5-macosx10.4.mpkg. -2. untar the binary distribution +2. Open the package and proceed with installation. -With root privilege from a terminal, extract the archive from the root /. +Python 2.3 is pre-installed, so install pyscard-1.6.5-py-2.3-macosx10.4.mpkg if +you did not install another release of python. -Installing on Mac OS X from the source distribution ----------------------------------------------------- +Install pyscard-1.6.5-py-2.5-macosx10.4.mpkg if you installed python 2.5. +Installing on Mac OS X Tiger from the source distribution +---------------------------------------------------------- + 1. you will need swig 1.3.31 (http://www.swig.org); gcc and pcsc-lite are available out of the box on Max OS X darwin @@ -230,21 +238,32 @@ This will build in the dist directory a binary distribution with a name similar to pyscard-1.6.5-1.i386.rpm. -Building a binary distribution for Mac OS X -------------------------------------------- +Building a binary distribution for Mac OS X Tiger +------------------------------------------------- To build a binary distribution from the source distribution, you will need -swig 1.3.31 (same requirements as for installing from the source distribution). +swig 1.3.31 (same requirements as for installing from the source distribution) +and bdist_mpkg 0.4.3 (http://cheeseshop.python.org/pypi/bdist_mpkg/). -In the root directory of the source distribution, i.e. in the src directory, -execute the following command in a terminal: -python setup.py build_ext bdist +If you are using the pre-installed python 2.3 distributuion, in the root directory +of the source distribution, i.e. in the src directory, execute the following commands +in a terminal: -This will build a package similar to pyscard-1.6.5.darwin-8.10.1-i686.tar.gz -containing a binary distribution tree. +python setup.py build_ext +/System/Library/Frameworks/Python.Framework/Versions/2.3/bin/bdist_mpkg setup.py +This will build package pyscard-1.6.5-py-2.3-macosx10.4.mpkg. +If you are using python 2.5, in the root directory of the source distribution, +i.e. in the src directory, execute the following commands in a terminal: + +python setup.py build_ext +/Library/Frameworks/Python.Framework/Versions/2.5/bin/bdist_mpkg setup.py + +This will build package pyscard-1.6.5-py-2.6-macosx10.4.mpkg. + + ------------------------------------------------------------------------------- Issue Tracking ------------------------------------------------------------------------------- Modified: trunk/pyscard/src/smartcard/doc/index.html =================================================================== --- trunk/pyscard/src/smartcard/doc/index.html 2008-01-04 16:26:29 UTC (rev 186) +++ trunk/pyscard/src/smartcard/doc/index.html 2008-01-06 18:00:25 UTC (rev 187) @@ -16,8 +16,9 @@ sourceforge.net. <p>Pyscard consists of <a href="epydoc/smartcard.scard.scard-module.html">smartcard.scard</a>, an extension module wrapping Windows smart card base components (also known - as PCSC) on Windows and PCSC lite on linux, and <a href="epydoc/index.html">smartcard</a>, - a python framework hiding PCSC complexity. + as PCSC) on Windows and PCSC lite on linux and Mac OS X Tiger, and <a + href="epydoc/index.html">smartcard</a>, a higher level python framework built + on top of the raw PCSC API. <p align="center"><img src="images/pyscard.jpg" width="396" height="540" align="middle"> <h2>Documentation Index</h2> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |