Skip to content

Commit

Permalink
move file so it available everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
typemytype committed Jan 12, 2017
1 parent 172abb9 commit 5e63356
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions drawBot/drawBotDrawingTools.py
Expand Up @@ -76,9 +76,7 @@ def _get_version(self):
import drawBotSettings
return drawBotSettings.__version__
except:
# DrawBot is installed as a module
import pkg_resources
return pkg_resources.require("drawBot")[0].version
pass
return ""

__version__ = property(_get_version)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion setupAsModule.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
from setuptools import setup

from drawBotSettings import __version__
from drawBot.drawBotSettings import __version__

try:
import fontTools
Expand Down

0 comments on commit 5e63356

Please sign in to comment.