From 3305a3521c67ca614c60c83f524a66bb8077d8a4 Mon Sep 17 00:00:00 2001 From: Bryan Cutler Date: Thu, 8 Feb 2018 17:21:36 -0800 Subject: [PATCH] added fix for using setuptools_scm to get version outside of arrow python dir --- python/pyarrow/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyarrow/__init__.py b/python/pyarrow/__init__.py index a245fe6796023..6a613a3b29540 100644 --- a/python/pyarrow/__init__.py +++ b/python/pyarrow/__init__.py @@ -24,7 +24,7 @@ # package is not installed try: import setuptools_scm - __version__ = setuptools_scm.get_version('../') + __version__ = setuptools_scm.get_version(root='../../', relative_to=__file__) except (ImportError, LookupError): __version__ = None