diff options
| author | Konrad Delong <konryd@gmail.com> | 2010-05-13 20:26:12 +0200 |
|---|---|---|
| committer | Konrad Delong <konryd@gmail.com> | 2010-05-13 20:26:12 +0200 |
| commit | f53872cabacc4fc45b60bfb9f6317376544bcfcc (patch) | |
| tree | 3b79a577df39cc76cf1f16ee4efad995a90f4bba /src/distutils2/command | |
| parent | 08863e92e5c6e9a6dcdf5c8dba164b28f602dba3 (diff) | |
| download | disutils2-f53872cabacc4fc45b60bfb9f6317376544bcfcc.tar.gz | |
started work on upload_docs
Diffstat (limited to 'src/distutils2/command')
| -rw-r--r-- | src/distutils2/command/upload_docs.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/distutils2/command/upload_docs.py b/src/distutils2/command/upload_docs.py new file mode 100644 index 0000000..f35cd55 --- /dev/null +++ b/src/distutils2/command/upload_docs.py @@ -0,0 +1,19 @@ +import os.path +from distutils2.core import Command + +class upload_docs(Command): + + user_options = [ + ('upload-dir=', None, 'directory to upload'), + ] + + def initialize_options(self): + self.upload_dir = None + + def finalize_options(self): + if self.upload_dir == None: + build = self.get_finalized_command('build') + self.upload_dir = os.path.join(build.build_base, "docs") + + def run(self): + pass |
