|
From: <lu...@us...> - 2012-10-10 13:26:38
|
Revision: 610
http://pyscard.svn.sourceforge.net/pyscard/?rev=610&view=rev
Author: ludov
Date: 2012-10-10 13:26:28 +0000 (Wed, 10 Oct 2012)
Log Message:
-----------
Remove dependency on libpython for Linux
pyscard is linked against libpython. This is considered a bad habit in
Debian as it pulling extra dependencies when installing.
The python interpreter itself is already statically linked against
libpython, linking the extension to it is creating unneeded dependencies
and might increase the memory usage.
This change fixes Debian bug #689923
http://bugs.debian.org/689923
Modified Paths:
--------------
trunk/pyscard/src/setup.py
Modified: trunk/pyscard/src/setup.py
===================================================================
--- trunk/pyscard/src/setup.py 2012-10-06 16:44:20 UTC (rev 609)
+++ trunk/pyscard/src/setup.py 2012-10-10 13:26:28 UTC (rev 610)
@@ -127,7 +127,7 @@
platform__cc_defines = [('PCSCLITE', '1')]
platform_swig_opts = ['-DPCSCLITE']
platform_sources = []
- platform_libraries = ["python%d.%d" % sys.version_info[:2]]
+ platform_libraries = []
platform_include_dirs = ['/usr/include/PCSC']
platform_extra_compile_args = [] # ['-ggdb', '-O0']
platform_extra_link_args = [] # ['-ggdb']
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|