Merge "Remove dependency on GitPython from setuptools usage"

This commit is contained in:
Jenkins
2014-09-12 08:16:10 +00:00
committed by Gerrit Code Review
2 changed files with 5 additions and 6 deletions

View File

@@ -29,16 +29,15 @@ class BuildManpage(Command):
command_name = 'build_manpage'
def initialize_options(self):
from git_upstream import main
self._output = self.distribution.get_name() + '.1'
self._see_also = ["git:1"]
self._today = datetime.date.today()
self._commands, self._parser = main.get_parser()
self._parser.formatter = ManPageFormatter()
self._commands = self._parser = None
def finalize_options(self):
pass
from git_upstream import main
self._commands, self._parser = main.get_parser()
self._parser.formatter = ManPageFormatter()
def _markup(self, txt):
return txt.replace('-', '\\-')

View File

@@ -18,5 +18,5 @@ import setuptools
setuptools.setup(
setup_requires=['pbr', 'GitPython'],
setup_requires=['pbr'],
pbr=True)