From: <jda...@us...> - 2008-02-26 13:45:16
|
Revision: 197 http://pyscard.svn.sourceforge.net/pyscard/?rev=197&view=rev Author: jdaussel Date: 2008-02-26 05:45:22 -0800 (Tue, 26 Feb 2008) Log Message: ----------- Added instruction on installation and build for Mac OS X Leopard Modified Paths: -------------- trunk/pyscard/src/README trunk/pyscard/src/smartcard/README Modified: trunk/pyscard/src/README =================================================================== --- trunk/pyscard/src/README 2008-02-26 13:20:33 UTC (rev 196) +++ trunk/pyscard/src/README 2008-02-26 13:45:22 UTC (rev 197) @@ -4,7 +4,7 @@ http://pyscard.sourceforge.net/ ------------------------------------------------------------------------------- -Copyright 2001-2007 gemalto +Copyright 2001-2008 gemalto Author: Jean-Daniel Aussel, mailto:jea...@ge... This file is part of pyscard. @@ -153,7 +153,7 @@ ---------------------------------------------------------- 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 +out of the box on Max OS X Tiger 2. download the source distribution @@ -170,6 +170,44 @@ /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/lib/site-packages/smartcard +Installation on Max OS X Leopard: +--------------------------------- + +The Mac OS X Leopard support is experimental on pyscard 1.6.6. 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 Leopard from the binary distribution: +---------------------------------------------------- + +1. download the binary distribution + +The binary distribution is an archive file, with a name similar to +pyscard-1.6.6-py-2.5-macosx10.5.mpkg. + +2. Open the package and proceed with installation. + +Installing on Mac OS X Leopard 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 Leopard + +2. download the source distribution + +The source distribution is available as pyscard-1.6.6.zip or +pyscard-1.6.6.tar.gz. + +3. untar or unzip the source distribution + +4. from a terminal, type the following: + +sudo python setup.py build_ext install + +This will build pyscard and install it in the site-packages directory of your python distribution, e.g. +/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.3/lib/site-packages/smartcard + + ------------------------------------------------------------------------------- Developer documentation, unit tests and examples ------------------------------------------------------------------------------- @@ -246,7 +284,7 @@ and bdist_mpkg 0.4.3 (http://cheeseshop.python.org/pypi/bdist_mpkg/). -If you are using the pre-installed python 2.3 distributuion, in the root directory +If you are using the pre-installed python 2.3 distribution, in the root directory of the source distribution, i.e. in the src directory, execute the following commands in a terminal: @@ -264,6 +302,26 @@ This will build package pyscard-1.6.6-py-2.6-macosx10.4.mpkg. +Building a binary distribution for Mac OS X Leopard +--------------------------------------------------- + +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) +and bdist_mpkg 0.4.3 (http://cheeseshop.python.org/pypi/bdist_mpkg/). + +Install bdist_mpkg by executing the bdist_mpkg setup.py script with build and +install as arguments, i.e. from the root directory of the bdist_mpkg +source distribution enter: python setup.py build install. + +From the root directory of the pyscard 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/Extras/bin/bdist_mpkg setup.py + +This will build package pyscard-1.6.6-py-2.5-macosx10.5.mpkg. + + ------------------------------------------------------------------------------- Issue Tracking ------------------------------------------------------------------------------- Modified: trunk/pyscard/src/smartcard/README =================================================================== --- trunk/pyscard/src/smartcard/README 2008-02-26 13:20:33 UTC (rev 196) +++ trunk/pyscard/src/smartcard/README 2008-02-26 13:45:22 UTC (rev 197) @@ -4,7 +4,7 @@ http://pyscard.sourceforge.net/ ------------------------------------------------------------------------------- -Copyright 2001-2007 gemalto +Copyright 2001-2008 gemalto Author: Jean-Daniel Aussel, mailto:jea...@ge... This file is part of pyscard. @@ -153,7 +153,7 @@ ---------------------------------------------------------- 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 +out of the box on Max OS X Tiger 2. download the source distribution @@ -170,6 +170,44 @@ /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/lib/site-packages/smartcard +Installation on Max OS X Leopard: +--------------------------------- + +The Mac OS X Leopard support is experimental on pyscard 1.6.6. 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 Leopard from the binary distribution: +---------------------------------------------------- + +1. download the binary distribution + +The binary distribution is an archive file, with a name similar to +pyscard-1.6.6-py-2.5-macosx10.5.mpkg. + +2. Open the package and proceed with installation. + +Installing on Mac OS X Leopard 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 Leopard + +2. download the source distribution + +The source distribution is available as pyscard-1.6.6.zip or +pyscard-1.6.6.tar.gz. + +3. untar or unzip the source distribution + +4. from a terminal, type the following: + +sudo python setup.py build_ext install + +This will build pyscard and install it in the site-packages directory of your python distribution, e.g. +/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.3/lib/site-packages/smartcard + + ------------------------------------------------------------------------------- Developer documentation, unit tests and examples ------------------------------------------------------------------------------- @@ -246,7 +284,7 @@ and bdist_mpkg 0.4.3 (http://cheeseshop.python.org/pypi/bdist_mpkg/). -If you are using the pre-installed python 2.3 distributuion, in the root directory +If you are using the pre-installed python 2.3 distribution, in the root directory of the source distribution, i.e. in the src directory, execute the following commands in a terminal: @@ -264,6 +302,26 @@ This will build package pyscard-1.6.6-py-2.6-macosx10.4.mpkg. +Building a binary distribution for Mac OS X Leopard +--------------------------------------------------- + +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) +and bdist_mpkg 0.4.3 (http://cheeseshop.python.org/pypi/bdist_mpkg/). + +Install bdist_mpkg by executing the bdist_mpkg setup.py script with build and +install as arguments, i.e. from the root directory of the bdist_mpkg +source distribution enter: python setup.py build install. + +From the root directory of the pyscard 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/Extras/bin/bdist_mpkg setup.py + +This will build package pyscard-1.6.6-py-2.5-macosx10.5.mpkg. + + ------------------------------------------------------------------------------- Issue Tracking ------------------------------------------------------------------------------- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |