Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrow ~=18.1.0 #76

Merged
merged 9 commits into from
Jan 9, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "is numpy necessary?"
This reverts commit 47c0e0e.
marcin-krystianc committed Jan 8, 2025
commit bfb6caa3d01d1f941b343724be7f7348f8829a87
2 changes: 2 additions & 0 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
requires = [
"setuptools>=55.0",
"Cython>=3",
"numpy>=1.16.6",
adamreeve marked this conversation as resolved.
Show resolved Hide resolved
"pyarrow~=18.0",
"thrift",
]
@@ -21,6 +22,7 @@ classifiers = [
]
dependencies = [
"pyarrow~=18.0",
"numpy>=1.16.6",
adamreeve marked this conversation as resolved.
Show resolved Hide resolved
]

[tool.setuptools.packages.find]
3 changes: 2 additions & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@
from distutils.extension import Extension
from Cython.Build import cythonize
import pyarrow
import numpy

# https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html#distributing-cython-modules
def no_cythonize(extensions, **_ignore):
@@ -25,7 +26,7 @@ def no_cythonize(extensions, **_ignore):
return extensions

vcpkg_installed = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'vcpkg_installed', os.getenv('VCPKG_TARGET_TRIPLET', ''))
include_dirs = [os.path.join(vcpkg_installed, 'include'), pyarrow.get_include()]
include_dirs = [os.path.join(vcpkg_installed, 'include'), pyarrow.get_include(), numpy.get_include()]
library_dirs = [os.path.join(vcpkg_installed, 'lib')] + pyarrow.get_library_dirs()

print ("VCPKG_ROOT=", vcpkg_installed)