Changeset 224 for mpimystic/setup.py
Legend:
- Unmodified
- Added
- Removed
-
mpimystic/setup.py
r222 r224 4 4 # 5 5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1998-20 09All Rights Reserved6 # (C) 1998-2010 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 13 13 import os 14 14 15 mpi_incdir = os.environ['MPI_INCDIR'] 16 mpi_libdir = os.environ['MPI_LIBDIR'] 17 18 if platform[:3] == 'win': 19 MPILIBS = [] 20 module1 = Extension('_pyina', 21 ['pyinamodule\\dummy.cc', 22 'pyinamodule\_pyina.cc'], 23 include_dirs=['pyinamodule', mpi_incdir], 24 libraries=MPILIBS, 25 library_dirs=[mpi_libdir], 26 ) 27 else: #platform = linux or mac 28 MPILIBS = [] 29 #if platform[:6] == 'darwin': 30 #MPILIBS.remove('...') 31 #MPILIBS.append('...') 32 33 module1 = Extension('_pyina', 34 ['pyinamodule/dummy.cc', 35 'pyinamodule/_pyina.cc'], 36 include_dirs=['pyinamodule', mpi_incdir], 37 libraries=MPILIBS, 38 library_dirs=[mpi_libdir], 39 ) 40 41 setup(name="pyina", 42 version="0.2", 15 setup(name="mpimystic", 16 version="0.01", 43 17 maintainer="Mike McKerns", 44 18 maintainer_email="mmckerns@caltech.edu", 45 19 license="BSD", 46 20 platforms=["any"], 47 description=" InteractiveParallel-Mapping Inversion Analysis Framework",21 description="MPI version of Parallel-Mapping Inversion Analysis Framework", 48 22 classifiers=( 49 23 "Intended Audience :: Developers", … … 52 26 "Topic :: Physics Programming"), 53 27 54 packages=['pyina','pyina.tools','pyina.applications'], 55 package_dir={'pyina':'pyina','pyina.tools':'tools','pyina.applications':'applications'}, 56 ext_modules=[module1], 57 28 packages=['mpimystic'], 29 package_dir={'mpimystic':'mpimystic'}, 58 30 scripts=[]) 59 31
Note: See TracChangeset
for help on using the changeset viewer.