Ignore:
Timestamp:
11/06/07 16:51:25 (12 years ago)
Author:
pjkersha
Message:

Further tidying up ready for submission as patch for M2Crypto.

  • removed used imports
  • copied settings as of version 0.18 setup.py
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/branches/Dependencies/m2crypto/setup.py

    r2574 r2576  
    1818from distutils.core import Extension 
    1919from distutils.command import build_ext 
    20 from distutils.dist import Distribution  
    21   
    22 import optparse 
    2320 
    2421 
     
    125122 
    126123 
    127 m2crypto = Extension(name = '__m2crypto', 
     124m2crypto = Extension(name = 'M2Crypto.__m2crypto', 
    128125                     sources = ['SWIG/_m2crypto.i'], 
    129126                     extra_compile_args = ['-DTHREADING'], 
    130                      #extra_link_args = ['-Wl,-search_paths_first'], 
     127                     #extra_link_args = ['-Wl,-search_paths_first'], # Uncomment to build Universal Mac binaries 
     128                     swig_opts = ['-includeall', 
     129                                  #'-D__i386__', # Uncomment for early OpenSSL 0.9.7 versions 
     130                                  ] 
    131131                     ) 
    132132 
     
    143143      url = 'http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto', 
    144144      packages = ['M2Crypto', 'M2Crypto.SSL', 'M2Crypto.PGP'], 
    145       ext_package = 'M2Crypto', 
    146145      ext_modules = [m2crypto], 
    147       cmdclass = {'build_ext': _M2CryptoBuildExt}, 
    148       zip_safe = False) 
    149  
     146      test_suite='tests.alltests.suite', 
     147      cmdclass = {'build_ext': _M2CryptoBuildExt} 
     148      ) 
Note: See TracChangeset for help on using the changeset viewer.