|
| 1 | +from __future__ import absolute_import, division, print_function |
| 2 | + |
| 3 | +from distutils.core import setup |
| 4 | +import os |
| 5 | + |
| 6 | +import numpy as np |
| 7 | +import setuptools |
| 8 | + |
| 9 | +from Cython.Build import cythonize |
| 10 | + |
| 11 | + |
| 12 | +extensions = [setuptools.Extension('stratify._vinterp', |
| 13 | + ['stratify/_vinterp.pyx'], |
| 14 | + include_dirs=[np.get_include()])] |
| 15 | + |
| 16 | +setup( |
| 17 | + name='stratify', |
| 18 | + description='Vectorized interpolators that are especially useful for Nd vertical interpolation/stratification of atmospheric and oceanographic datasets', |
| 19 | + version='0.2.0', |
| 20 | + ext_modules=cythonize(extensions), |
| 21 | + packages=['stratify', 'stratify.tests'], |
| 22 | + classifiers=[ |
| 23 | + 'Development Status :: 3 - Alpha', |
| 24 | + ('License :: OSI Approved :: ' |
| 25 | + 'License :: OSI Approved :: BSD License'), |
| 26 | + 'Operating System :: MacOS :: MacOS X', |
| 27 | + 'Operating System :: POSIX', |
| 28 | + 'Operating System :: POSIX :: AIX', |
| 29 | + 'Operating System :: POSIX :: Linux', |
| 30 | + 'Operating System :: Microsoft :: Windows', |
| 31 | + 'Programming Language :: Python', |
| 32 | + 'Programming Language :: Python :: 2', |
| 33 | + 'Programming Language :: Python :: 2.7', |
| 34 | + 'Programming Language :: Python :: 3', |
| 35 | + 'Programming Language :: Python :: 3.4', |
| 36 | + 'Programming Language :: Python :: 3.5', |
| 37 | + 'Topic :: Scientific/Engineering', |
| 38 | + 'Topic :: Scientific/Engineering :: GIS', |
| 39 | + ], |
| 40 | +) |
0 commit comments