mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 08:28:39 +00:00
Don't depend on sphinx to build
This commit is contained in:
parent
5278c82580
commit
aef0a4616f
1 changed files with 6 additions and 1 deletions
7
setup.py
7
setup.py
|
@ -30,7 +30,12 @@ from distutils import cmd, sysconfig
|
||||||
from distutils.command.build import build as _build
|
from distutils.command.build import build as _build
|
||||||
from distutils.command.clean import clean as _clean
|
from distutils.command.clean import clean as _clean
|
||||||
from setuptools.command.install import install as _install
|
from setuptools.command.install import install as _install
|
||||||
from sphinx.setup_command import BuildDoc
|
try:
|
||||||
|
from sphinx.setup_command import BuildDoc
|
||||||
|
except ImportError:
|
||||||
|
class BuildDoc(object):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
import msgfmt
|
import msgfmt
|
||||||
import os
|
import os
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue