Commit graph

10 commits

Author SHA1 Message Date
Alexis Metaireau
b8377f50c9 Merge pull request #250 from AndreaCrotti/argparse
- remove default=None with argparse is redundant since it's the
2012-03-15 14:06:12 -07:00
Andrea Crotti
4bac1ee745 - remove default=None with argparse is redundant since it's the
default value already.
- use the argparse.ArgumentDefaultsHelpFormatter as the
  formatter_class, to print out automatically the default values
2012-03-14 19:54:28 +00:00
Stéphane Raimbault
2f79d5f052 Improve error handling when pandoc is missing 2012-03-13 16:54:45 +01:00
Stéphane Raimbault
d7f0b1637e Cleanup awful line with TODO in pelican-import 2012-03-13 16:54:45 +01:00
Stéphane Raimbault
fec605b577 Fix way to handle OSError (error doesn't exist)
A better way would to use sys.stderr.write or PY3 print(file=sys.stderr)
2012-03-13 16:53:56 +01:00
Stéphane Raimbault
c4f96b108f Don't set unused fields of Dotclear post 2012-03-13 02:16:11 +01:00
Stéphane Raimbault
e097175a77 Import not used of BeautifulSoup 2012-03-13 02:14:38 +01:00
Andrea Crotti
2e0e893a9b fix three print statement 2012-03-07 12:14:13 +00:00
Andrea Crotti
8f7b08a01c remove now useless if __name__ == '__main__' checks and clean up the
old pelican script in bin
2012-03-07 10:38:08 +00:00
Andrea Crotti
8009324a3b restructure the whole way scripts are created, using setuptools magic
to take care of creating .exe wrappers for windows.

To make this work needed to
- rename modules with a "-" in it (not a valid name)
- add an __init__.py to the tools directory
- create an entry point dictionary which stores the right associations
2012-03-07 10:33:46 +00:00
Renamed from tools/pelican-import (Browse further)