Skip to content

Commit

Permalink
added fix for using setuptools_scm to get version outside of arrow py…
Browse files Browse the repository at this point in the history
…thon dir
  • Loading branch information
BryanCutler committed Feb 9, 2018
1 parent 95eb22a commit 3305a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyarrow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3305a35

Please sign in to comment.