[Setup] Fix buildd error with version.py import

- The deb buildd command also has a version.py so need to use relative import
   to specify that we really mean deluge supplied version.py.
This commit is contained in:
Calum Lind 2016-11-26 16:26:16 +00:00
parent 874249655d
commit 3aff57600f
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ from setuptools import find_packages, setup
from setuptools.command.test import test as _test from setuptools.command.test import test as _test
import msgfmt import msgfmt
from version import get_version from .version import get_version
try: try:
from sphinx.setup_command import BuildDoc from sphinx.setup_command import BuildDoc