source: ftputil/version.py @ 1723:7d731aea5360

Last change on this file since 1723:7d731aea5360 was 1723:7d731aea5360, checked in by Stefan Schwarzer <sschwarzer@…>, 8 months ago
Remove positional argument specifiers for `format` In strings for `format` calls, remove the digits for positional arguments. For example, "{0}, {1}" becomes "{}, {}".
File size: 569 bytes
Line 
1# Copyright (C) 2006-2018, Stefan Schwarzer <sschwarzer@sschwarzer.net>
2# and ftputil contributors (see `doc/contributors.txt`)
3# See the file LICENSE for licensing terms.
4
5"""
6Provide version information about ftputil and the runtime environment.
7"""
8
9import sys
10
11
12# ftputil version number; substituted by `make patch`
13__version__ = "3.4"
14
15_ftputil_version = __version__
16_python_version = sys.version.split()[0]
17_python_platform = sys.platform
18
19
20version_info = "ftputil {}, Python {} ({})".format(
21                 _ftputil_version, _python_version, _python_platform)
Note: See TracBrowser for help on using the repository browser.