mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-25 22:36:13 +01:00
setup.py: make build_docs' base class more explicit
distutils.command.build.Command is distutils.core.Command.
This commit is contained in:
parent
7849e23eb5
commit
fdb773bbc9
3
setup.py
3
setup.py
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
|
import distutils.core
|
||||||
import distutils.command.build
|
import distutils.command.build
|
||||||
import distutils.command.install_data
|
import distutils.command.install_data
|
||||||
import os.path
|
import os.path
|
||||||
@ -42,7 +43,7 @@ class build_osc(distutils.command.build.build, object):
|
|||||||
|
|
||||||
|
|
||||||
# Support for documentation (sphinx)
|
# Support for documentation (sphinx)
|
||||||
class build_docs(distutils.command.build.Command):
|
class build_docs(distutils.core.Command):
|
||||||
description = 'builds documentation using sphinx'
|
description = 'builds documentation using sphinx'
|
||||||
user_options = []
|
user_options = []
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user