Skip to content

Commit

Permalink
release: 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
timofurrer committed Apr 9, 2017
1 parent 78d05e4 commit a21919b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).

*Nothing here yet.*

[Unreleased]: https://github.com/timofurrer/colorful/compare/v0.3.2...HEAD
[v0.2.12]: https://github.com/timofurrer/colorful/compare/v0.2.11...v0.2.12
## [v0.3.0]

- Initial release

[Unreleased]: https://github.com/timofurrer/colorful/compare/v0.3.0...HEAD
[v0.3.0]: https://github.com/timofurrer/colorful/compare/466cfeddee681c8221ab981018597c01...v0.3.0
3 changes: 3 additions & 0 deletions colorful/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
from .core import Colorful
from . import terminal

#: Holds the current version
__version__ = '0.3.0'


class ColorfulModule(types.ModuleType):
"""
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
:license: MIT, see LICENSE for more details.
"""


import ast
import os
import sys
Expand Down Expand Up @@ -40,7 +39,7 @@ def __init__(self):

def visit_Assign(self, node):
try:
if node.targets[0].id == 'version':
if node.targets[0].id == '__version__':
self.version = node.value.s
except:
pass
Expand Down

0 comments on commit a21919b

Please sign in to comment.