* Reverted r2535 except for changes to scripts/perl/Makefile.PL

* scripts/openbabel-python.i: Updated SWIG interface file to ignore 21 methods of each std::vector created. This should substantially reduce the size of the wrapper code
This commit is contained in:
Noel O'Boyle
2008-06-17 19:03:50 +00:00
parent 5b53678b4d
commit 625a89e365
8 changed files with 123 additions and 232 deletions

View File

@@ -60,26 +60,12 @@ def find_likely_directory():
OBinclude,OBlibrary = find_likely_directory()
obCore = Extension('_obcore',
['obcore.cpp'],
include_dirs=OBinclude,
library_dirs=OBlibrary,
libraries=['openbabel']
)
obConversion = Extension('_obconversion',
['obconversion.cpp'],
include_dirs=OBinclude,
library_dirs=OBlibrary,
libraries=['openbabel']
)
obTemplate = Extension('_obtemplate',
['obtemplate.cpp'],
include_dirs=OBinclude,
library_dirs=OBlibrary,
libraries=['openbabel']
)
obExtension = Extension('_openbabel',
['openbabel_python.cpp'],
include_dirs=OBinclude,
library_dirs=OBlibrary,
libraries=['openbabel']
)
setup(name='openbabel',
version='1.3',
@@ -88,7 +74,7 @@ setup(name='openbabel',
url='http://openbabel.sourceforge.net/',
license='http://www.gnu.org/copyleft/gpl.html',
py_modules=['openbabel','pybel'],
ext_modules=[obCore, obConversion, obTemplate],
ext_modules=[obExtension],
description = 'openbabel: Python interface to the Open Babel chemistry library',
classifiers=[
'Development Status :: 5 - Production/Stable',