diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-04-28 09:52:55 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-04-28 09:52:55 +0100 |
commit | 0c80819724e50cc01c9b7f03ef186e8cc0ce2fc8 (patch) | |
tree | b5b28e3694d5dd77111e6f79b0a6ed88c1810a65 | |
parent | 0bd0df22eeee485331353a9c31a54b81257317f9 (diff) | |
download | desktop-cronish-0c80819724e50cc01c9b7f03ef186e8cc0ce2fc8.tar.gz |
Remove formatted manual page
-rw-r--r-- | setup.py | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -17,6 +17,8 @@ from distutils.core import setup, Extension from distutils.command.build import build +from distutils.command.clean import clean +import os import cliapp @@ -32,6 +34,16 @@ class Build(build): stdout=f) +class Clean(clean): + + def run(self): + clean.run(self) + filenames = ['desktop-cronish.1'] + for filename in filenames: + if os.path.exists(filename): + os.remove(filename) + + setup(name='desktop-cronish', version='0.0', description='git://git.gitano.org.uk/personal/liw/desktop-cronish', @@ -41,5 +53,6 @@ setup(name='desktop-cronish', scripts=['desktop-cronish'], cmdclass={ 'build': Build, + 'clean': Clean, }, ) |