[BACK]Return to setup.py CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / external / bsd / tre / dist / python

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/external/bsd/tre/dist/python/setup.py between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2010/02/25 07:33:18 version 1.1.1.2, 2017/11/17 16:11:12
Line 3 
Line 3 
 # Copyright (c) 2009 Ville Laurikari <ville@laurikari.net>  # Copyright (c) 2009 Ville Laurikari <ville@laurikari.net>
 #  #
   
   import distutils.sysconfig
 from distutils.core import setup, Extension  from distutils.core import setup, Extension
 import sys  import sys
 import os  import os
Line 14  include_dirs = ["../lib"]
Line 15  include_dirs = ["../lib"]
 libraries = ["tre"]  libraries = ["tre"]
   
 if sys.platform == "win32":  if sys.platform == "win32":
     data_files = ["tre.dll"]      # Place tre.dll in site-packages, next to tre.pyd.
       data_files = [(distutils.sysconfig.get_python_lib(), ["tre.dll"])]
     include_dirs += ["../win32"]      include_dirs += ["../win32"]
     shutil.copy("../win32/Release/tre.dll", ".")      shutil.copy("../win32/Release/tre.dll", ".")
     libraries = ["../win32/Release/tre"]      libraries = ["../win32/Release/tre"]

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2

CVSweb <webmaster@jp.NetBSD.org>