1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-12 23:56: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:
Marcus Huewe 2016-09-16 16:09:59 +02:00
parent 7849e23eb5
commit fdb773bbc9

View File

@ -1,6 +1,7 @@
#!/usr/bin/env python
from distutils.core import setup
import distutils.core
import distutils.command.build
import distutils.command.install_data
import os.path
@ -42,7 +43,7 @@ class build_osc(distutils.command.build.build, object):
# Support for documentation (sphinx)
class build_docs(distutils.command.build.Command):
class build_docs(distutils.core.Command):
description = 'builds documentation using sphinx'
user_options = []