Skip to content
This repository has been archived by the owner on Mar 4, 2018. It is now read-only.

Commit

Permalink
Update changelog, readme setup.py and bump version to 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinDuquesnoy committed Nov 30, 2014
1 parent 9a74aa7 commit dd6b3ec
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 14 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
Change log
==========

2.4.0
-----

*starting from version 2.4, all pyqode packages share the same master version (== 2 first numbers)*

New features:

- new indenter made specifically for COBOL
- improve syntax highlighter: the lexer is now able to make the distinctions
between regular keywords and types (PIC clauses will have a different color
when using some specific pygments styles, not all styles define different
colors for the different types of keywords).

Fixed bugs:

- fix OpenCobolIDE/OpenCobolIDE#76: end-if/end-perform appear in the outline
view


1.1.0
-----

Expand Down
4 changes: 1 addition & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ Installation

::

$ pip3 install pyqode.cobol


$ pip3 install pyqode.cobol --upgrade

Testing
-------
Expand Down
2 changes: 1 addition & 1 deletion pyqode/cobol/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
Most of the code come from OpenCobolIDE.
"""

__version__ = "2.4.dev"
__version__ = '2.4.0'
12 changes: 2 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
This setup script packages pyqode.python
"""
from setuptools import setup, find_packages
from pyqode.cobol import __version__

#
# add ``build_ui command`` (optional, for development only)
Expand All @@ -18,15 +19,6 @@
cmdclass = {}


def read_version():
with open("pyqode/cobol/__init__.py") as f:
lines = f.read().splitlines()
for l in lines:
if "__version__" in l:
return l.split("=")[1].strip().replace('"', '').replace(
"'", '')


def readme():
return str(open('README.rst').read())

Expand All @@ -40,7 +32,7 @@ def readme():
setup(
name='pyqode.cobol',
namespace_packages=['pyqode'],
version=read_version(),
version=__version__,
packages=[p for p in find_packages() if 'test' not in p],
keywords=["CodeEdit PySide PyQt code editor widget cobol"],
package_dir={'pyqode': 'pyqode'},
Expand Down

0 comments on commit dd6b3ec

Please sign in to comment.