diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2014-08-25 23:48:28 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2014-08-25 23:49:09 -0700 |
commit | 28b7db145fed32840f8d2edea8fdce27dc00ca26 (patch) | |
tree | 55dd7d5727be5a324395687b59542ad0e82261f5 /setup.py | |
parent | 9cf96d459a75d6ef4df167d8b7aa62dfa90ef774 (diff) |
Consolidate version info. Closes #249
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -54,9 +54,16 @@ if sys.platform == 'darwin': setup_helper.install_custom_make_tarball() +# Version info -- read without importing +_locals = {} +with open('paramiko/_version.py') as fp: + exec(fp.read(), None, _locals) +version = _locals['__version__'] + + setup( name = "paramiko", - version = "1.14.1", + version = version, description = "SSH2 protocol library", long_description = longdesc, author = "Jeff Forcier", |