Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
gridtk
Commits
7cbd7bc1
Commit
7cbd7bc1
authored
Jul 13, 2012
by
André Anjos
💬
Browse files
Better version getting
parent
bd24d998
Changes
1
Hide whitespace changes
Inline
Side-by-side
gridtk/config.py
View file @
7cbd7bc1
...
...
@@ -5,4 +5,4 @@
"""Returns the currently compiled version number"""
__version__
=
__import__
(
'pkg_resources'
).
require
(
'gridtk'
)
[
0
]
.
version
__version__
=
__import__
(
'pkg_resources'
).
get_distribution
(
'gridtk'
).
version
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment