Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Commit

Permalink
update pkgdist
Browse files Browse the repository at this point in the history
  • Loading branch information
radhermit committed Nov 1, 2016
1 parent 3376f93 commit d68600c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgdist.py
Expand Up @@ -212,9 +212,11 @@ def make_release_tree(self, base_dir, files):
"""

if 'build_man' in self.distribution.cmdclass:
build_man = self.reinitialize_command('build_man')
build_man.ensure_finalized()
self.run_command('build_man')
shutil.copytree(os.path.join(os.getcwd(), "build/sphinx/man"),
os.path.join(base_dir, "man"))
shutil.copytree(os.path.join(os.getcwd(), build_man.content_search_path[0]),
os.path.join(base_dir, build_man.content_search_path[1]))

dst_sdist.sdist.make_release_tree(self, base_dir, files)
self.generate_verinfo(base_dir)
Expand Down

0 comments on commit d68600c

Please sign in to comment.