Page 1 of 1

pysim and Linux (Ubuntu Hardy)

Posted: Fri Oct 10, 2008 1:13 am
by ^rooker
Using "pysim" with Ubuntu Hardy (8.04) - and probably other Linux distros as well:

1) download pySim's sourcecode from sourceforge:
# login anonmyously - just hit "enter" at the password prompt:

Code: Select all

cvs -d:pserver:anonymous@simreader.cvs.sourceforge.net:/cvsroot/simreader login
# download the cvs source:

Code: Select all

cvs -z3 -d:pserver:anonymous@simreader.cvs.sourceforge.net:/cvsroot/simreader co -P pySimReader
2) Apply Stephen Murdoch's patches:
# download the patches and store them in patches/ subfolder of pySimReader:
S. Murdoch's pysim patches

# apply patches in the following order:

Code: Select all

patch < patches/rename-icon.patch
patch < patches/use-wxversion.patch
patch < patches/pypcsc-wrapper.patch
patch < patches/import-pypcsc.patch
3) Install PCSC infrastructure:
# install and start "pcscd" and "libpcsclite"

Code: Select all

apt-get install pcscd libpcscdlite-dev
/etc/init.d/pcscd start
# download PyCSC:
http://pypi.python.org/pypi/PyCSC/0.3
(WARNING! Don't mistake it with an older version (0.0.3) of pycsc, you might find on the web)

# install PyCSC as root:

Code: Select all

python setup.py build
python setup.py install