forked from LLNL/zfp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
15 lines (14 loc) · 980 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from setuptools import setup, Extension
import numpy as np
setup(
name="zfpy",
version="0.5.5",
author="Peter Lindstrom",
author_email="zfp@llnl.gov",
url="https://computing.llnl.gov/projects/floating-point-compression",
description="zfp compression in Python",
long_description="zfp is a compressed format for representing multidimensional floating-point and integer arrays. zfp provides compressed-array classes that support high throughput read and write random access to individual array elements. zfp also supports serial and parallel compression of whole arrays using both lossless and lossy compression with error tolerances. zfp is primarily written in C and C++ but also includes Python and Fortran bindings.",
ext_modules=[Extension("zfpy", ["build/python/zfpy.c"],
include_dirs=["include", np.get_include()],
libraries=["zfp"], library_dirs=["build/lib64", "build/lib/Release"])]
)