Skip to content

Commit

Permalink
fixed docs requirements 2
Browse files Browse the repository at this point in the history
  • Loading branch information
khoroshevskyi committed Jun 26, 2023
1 parent 38e231a commit 92837be
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@

from setuptools import setup

try:
import versioneer
except ImportError:
# we have a versioneer.py file living in the same directory as this file, but
# if we're using pep 517/518 to build from pyproject.toml its not going to find it
# https://github.com/python-versioneer/python-versioneer/issues/193#issue-408237852
# make this work by adding this directory to the python path (https://github.com/nv-morpheus/Morpheus/pull/990)
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
import versioneer

# Additional keyword arguments for setup().
extra = {}

Expand Down

0 comments on commit 92837be

Please sign in to comment.