script: (to extend c++ in python)
filename: stpwsusr.py    CANT BE "wsusr.py"!!!!!!!!!!!!!!!
its bad,because everybody usally name the files like the program/module.

source:
/*********************************************/
from distutils.core import setup, Extension


mylib_dirs=['/home/dev/WireLessStudio/wsusrlib/debug/src']
libs_trace=['wsusr'] <- My module 's name.

module3 = Extension('wsl',
                  sources = ['srcwsl.cpp'],
                  library_dirs=mylib_dirs,
                  libraries = libs_trace)
                 
setup (name = 'PackageName',
      version = '1.0',
      description = 'probando claes en piton, gross',
      ext_modules = [module3])
/******************************************/
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to