diff options
author | 2011-07-10 11:01:03 +0200 | |
---|---|---|
committer | 2011-07-10 11:04:14 +0200 | |
commit | e70e4e1bbe1d9671374fe6f4de4093b9149426ab (patch) | |
tree | dac8be2c393d4476803df7af3be5a3031a3da15d /setup.py | |
parent | Reuse 'gentoopm' module code. (diff) | |
download | pms-test-suite-e70e4e1bbe1d9671374fe6f4de4093b9149426ab.tar.gz pms-test-suite-e70e4e1bbe1d9671374fe6f4de4093b9149426ab.tar.bz2 pms-test-suite-e70e4e1bbe1d9671374fe6f4de4093b9149426ab.zip |
Support generating docs using epydoc.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -5,7 +5,7 @@ from distutils.core import setup, Command, Distribution -import os.path, sys +import os.path, subprocess, sys sys.path.insert(0, os.path.dirname(__file__)) try: @@ -80,6 +80,10 @@ class DocCommand(Command): m.convertFile(f, d) self.outfiles.append(d) + print('Creating API docs') + subprocess.check_call(['epydoc', '--verbose', '--html', + '--output', os.path.join('doc', 'html'), 'pmstestsuite']) + def get_inputs(self): return self.docs or [] |