|
From: <jda...@us...> - 2011-10-22 15:14:00
|
Revision: 579
http://pyscard.svn.sourceforge.net/pyscard/?rev=579&view=rev
Author: jdaussel
Date: 2011-10-22 15:13:53 +0000 (Sat, 22 Oct 2011)
Log Message:
-----------
Added instructions on building binary distribution on Lion
Modified Paths:
--------------
trunk/pyscard/src/README
trunk/pyscard/src/smartcard/README
Modified: trunk/pyscard/src/README
===================================================================
--- trunk/pyscard/src/README 2011-10-22 15:00:27 UTC (rev 578)
+++ trunk/pyscard/src/README 2011-10-22 15:13:53 UTC (rev 579)
@@ -227,8 +227,9 @@
Installing on Mac OS X Lion from the source distribution
--------------------------------------------------------
-1. you will need swig 1.3.31 or later (http://www.swig.org); gcc and pcsc-lite
-are available out of the box on Max OS X Leopard
+1. you will need swig 2.0.4 (http://www.swig.org) and Xcode
+(http://developer.apple.com/xcode/);
+pcsc-lite is available out of the box on Max OS X Leopard
2. download the source distribution
@@ -340,6 +341,26 @@
This will build package pyscard-1.6.14-py-2.6-macosx10.4.mpkg.
+Building a binary distribution for Mac OS X Lion
+-------------------------------------------------
+
+To build a binary distribution from the source distribution, you will
+need swig 2.0.4 and Xcode (same requirements as for installing from the source
+distribution) and bdist_mpkg 0.4.4 (http://pypi.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
+bdist_mpkg setup.py
+
+This will build package pyscard-1.6.14-py-2.7-macosx10.7.mpkg in the dist
+directory.
+
Building a binary distribution for Mac OS X Leopard
---------------------------------------------------
Modified: trunk/pyscard/src/smartcard/README
===================================================================
--- trunk/pyscard/src/smartcard/README 2011-10-22 15:00:27 UTC (rev 578)
+++ trunk/pyscard/src/smartcard/README 2011-10-22 15:13:53 UTC (rev 579)
@@ -227,8 +227,9 @@
Installing on Mac OS X Lion from the source distribution
--------------------------------------------------------
-1. you will need swig 1.3.31 or later (http://www.swig.org); gcc and pcsc-lite
-are available out of the box on Max OS X Leopard
+1. you will need swig 2.0.4 (http://www.swig.org) and Xcode
+(http://developer.apple.com/xcode/);
+pcsc-lite is available out of the box on Max OS X Leopard
2. download the source distribution
@@ -340,6 +341,26 @@
This will build package pyscard-1.6.14-py-2.6-macosx10.4.mpkg.
+Building a binary distribution for Mac OS X Lion
+-------------------------------------------------
+
+To build a binary distribution from the source distribution, you will
+need swig 2.0.4 and Xcode (same requirements as for installing from the source
+distribution) and bdist_mpkg 0.4.4 (http://pypi.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
+bdist_mpkg setup.py
+
+This will build package pyscard-1.6.14-py-2.7-macosx10.7.mpkg in the dist
+directory.
+
Building a binary distribution for Mac OS X Leopard
---------------------------------------------------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|