Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (44 loc) · 1.43 KB
/
Copy pathsetup.py
File metadata and controls
51 lines (44 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright (c) 2018, NVIDIA CORPORATION.
from setuptools import setup, find_packages
from setuptools.extension import Extension
from Cython.Build import
5B56
cythonize
import versioneer
from distutils.sysconfig import get_python_lib
install_requires = [
'numba',
'cython'
]
cython_files = ['cudf/bindings/*.pyx']
extensions = [
Extension("*",
sources=cython_files,
include_dirs=[
'../cpp/include/cudf',
'../cpp/thirdparty/dlpack/include/dlpack/'
],
library_dirs=[get_python_lib()],
libraries=['cudf'],
language='c++',
extra_compile_args=['-std=c++11'])
]
setup(name='cudf',
description="cuDF - GPU Dataframe",
version=versioneer.get_version(),
classifiers=[
# "Development Status :: 4 - Beta",
"Intended Audience :: Developers",
# "Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7"
],
# Include the separately-compiled shared library
author="NVIDIA Corporation",
setup_requires=['cython'],
ext_modules=cythonize(extensions),
packages=find_packages(include=['cudf', 'cudf.*']),
install_requires=install_requires,
license="Apache",
cmdclass=versioneer.get_cmdclass(),
zip_safe=False
)