Browse Source

Re-add --version, update README & Changelog

pull/40/head
Simon Conseil 13 years ago
parent
commit
91e287be43
  1. 2
      README.rst
  2. 7
      docs/changelog.rst
  3. 3
      sigal/__init__.py
  4. 2
      sigal/pkgmeta.py

2
README.rst

@ -18,7 +18,7 @@ The idea behind Sigal is to ease the use of the javascript librairies like
`galleria`_. These librairies do a great job to display the images, Sigal does `galleria`_. These librairies do a great job to display the images, Sigal does
what is missing: resize images, create thumbnails, generate html pages. what is missing: resize images, create thumbnails, generate html pages.
Sigal is currently compatible only with Python 2. Sigal is compatible with Python 2.7 and 3.3.
Links : Links :

7
docs/changelog.rst

@ -2,6 +2,13 @@
Changelog Changelog
=========== ===========
Version 0.6.dev
~~~~~~~~~~~~~~~
Released on 2013-xx-xx.
- Add support for Python 3.3
Version 0.5.1 Version 0.5.1
~~~~~~~~~~~~~ ~~~~~~~~~~~~~

3
sigal/__init__.py

@ -41,6 +41,7 @@ from argh import ArghParser, arg
from logging import Formatter from logging import Formatter
from .gallery import Gallery from .gallery import Gallery
from .pkgmeta import __version__
from .settings import read_settings from .settings import read_settings
_DEFAULT_CONFIG_FILE = 'sigal.conf.py' _DEFAULT_CONFIG_FILE = 'sigal.conf.py'
@ -152,4 +153,6 @@ def serve(path):
def main(): def main():
parser = ArghParser(description='Simple static gallery generator.') parser = ArghParser(description='Simple static gallery generator.')
parser.add_commands([init, build, serve]) parser.add_commands([init, build, serve])
parser.add_argument('--version', action='version',
version='%(prog)s {}'.format(__version__))
parser.dispatch() parser.dispatch()

2
sigal/pkgmeta.py

@ -2,7 +2,7 @@
__title__ = 'sigal' __title__ = 'sigal'
__author__ = 'Simon Conseil' __author__ = 'Simon Conseil'
__version__ = '0.5.1' __version__ = '0.6.0-dev'
__license__ = 'MIT' __license__ = 'MIT'
__url__ = 'https://github.com/saimn/sigal' __url__ = 'https://github.com/saimn/sigal'
__all__ = ['__title__', '__author__', '__version__', '__license__', '__url__'] __all__ = ['__title__', '__author__', '__version__', '__license__', '__url__']

Loading…
Cancel
Save