Skip to content

Commit

Permalink
Add __version__ metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie committed Jul 27, 2010
1 parent 5c38171 commit 2f7720a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
else:
long_description = "See http://github.com/nvie/vim_bridge/tree/master"

from vim_bridge import __version__ as version

setup(
name="vim_bridge",
version=0.2,
version=version,
description="A Python-to-Vim bridge decorator that allows transparent calls to Python functions in native Vim scripts.",
author="Vincent Driessen",
author_email="vincent@datafox.nl",
Expand Down
3 changes: 3 additions & 0 deletions vim_bridge/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
from vim_bridge.registry import func_register

VERSION = (0, 2)
__version__ = ".".join(map(str, VERSION[0:2]))

def bridged(fin):
func_register[fin.func_name] = fin

Expand Down

0 comments on commit 2f7720a

Please sign in to comment.