Skip to content

Commit

Permalink
Version bump and metadata update.
Browse files Browse the repository at this point in the history
  • Loading branch information
amcgregor committed May 3, 2016
1 parent 9919961 commit 1d044f4
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
25 changes: 21 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
cinje
=====

© 2015 Alice Bevan-McGregor and contributors.
© 2015-2016 Alice Bevan-McGregor and contributors.

..
Expand Down Expand Up @@ -485,6 +485,8 @@ See the Variable Replacement section for details on the replacement options that
Pragma
~~~~~~

*New in Version 1.1*

The ``: pragma <flag>[ <flag>][...]`` directive allows you to enable or disable one or more processing flags. Usage is
straightforward; to add a flag to the current set of flags::

Expand Down Expand Up @@ -584,6 +586,21 @@ Version 1.1
* *Enhanced Pypy support.* Pypy does not require optimizations which potentially obfuscate the resulting code.
So we don't do them.

* *Fixed* incorrect `#{}` handling when it was the first non-whitepsace on a line. (#22)

* *Fixed* buffer iteration edge case if the first template text in a function is deeper than the function scope. (#21)

* *Python 3-style function annotations* can now be used to define function-wide "pragma" additions and removals, even
on Python 2. (#8)

* *Pragma processing directives.* Processing flags can be set and unset during the translation process using
`: pragma`.

* *Unbuffered mode.* Cinje can now operate in unbuffered mode. Each contiguous chunk is individually yielded. (#8)

* *Secret feature.* Have a cinje template? Want to more easily peek behind the curtain? (Sssh, it's a completely
unsupported feature that even syntax colors if `pygments` is installed.) `python -m cinje source file.py`

Version 1.0
-----------

Expand All @@ -598,7 +615,7 @@ cinje has been released under the MIT Open Source license.
The MIT License
---------------

Copyright © 2015 Alice Bevan-McGregor and contributors.
Copyright © 2015-2016 Alice Bevan-McGregor and contributors.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the “Software”), to deal in the Software without restriction, including without limitation the
Expand Down Expand Up @@ -653,12 +670,12 @@ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
:target: https://github.com/marrow/cinje/issues
:alt: Github Issues

.. |ghsince| image:: https://img.shields.io/github/commits-since/marrow/cinje/1.0.svg
.. |ghsince| image:: https://img.shields.io/github/commits-since/marrow/cinje/1.1.0.svg
:target: https://github.com/marrow/cinje/commits/develop
:alt: Changes since last release.

.. |ghtag| image:: https://img.shields.io/github/tag/marrow/cinje.svg
:target: https://github.com/marrow/cinje/tree/1.0
:target: https://github.com/marrow/cinje/tree/1.1.0
:alt: Latest Github tagged release.

.. |latestversion| image:: http://img.shields.io/pypi/v/cinje.svg?style=flat
Expand Down
2 changes: 1 addition & 1 deletion cinje/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from collections import namedtuple


version_info = namedtuple('version_info', ('major', 'minor', 'micro', 'releaselevel', 'serial'))(1, 0, 0, 'final', 0)
version_info = namedtuple('version_info', ('major', 'minor', 'micro', 'releaselevel', 'serial'))(1, 1, 0, 'final', 0)
version = ".".join([str(i) for i in version_info[:3]]) + ((version_info.releaselevel[0] + str(version_info.serial)) if version_info.releaselevel != 'final' else '')

author = namedtuple('Author', ['name', 'email'])("Alice Bevan-McGregor", '[email protected]')
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def run_tests(self):
author_email = author.email,

license = 'MIT',
keywords = '',
keywords = ['template', 'source translation', 'dsl', 'streaming', 'chunked'],
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand All @@ -65,6 +65,7 @@ def run_tests(self):
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
Expand Down

0 comments on commit 1d044f4

Please sign in to comment.