Skip to content

Commit

Permalink
doc: fix getting the package version
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Dec 14, 2014
1 parent f49d482 commit e028796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Expand Up @@ -14,7 +14,7 @@
import re

def get_version():
return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('../setup.py').read()).group('version')
return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('../pyuv/_version.py').read()).group('version')
_version = get_version()

# If extensions (or modules to document with autodoc) are in another directory,
Expand Down

0 comments on commit e028796

Please sign in to comment.