Skip to content

Commit

Permalink
Make setuptools_scm.get_version use the correct path
Browse files Browse the repository at this point in the history
  • Loading branch information
mstimberg committed May 17, 2016
1 parent 8f144aa commit 1fb8afb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion brian2tools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'''
Tools for use with the Brian 2 simulator.
'''
import os

from .plotting import *
from .tests import run as test
Expand All @@ -13,5 +14,5 @@
# Apparently we are running directly from a git clone, let
# setuptools_scm fetch the version from git
from setuptools_scm import get_version
__version__ = get_version()
__version__ = get_version(relative_to=os.path.dirname(__file__))
version = __version__

0 comments on commit 1fb8afb

Please sign in to comment.