Skip to content
Myr

__version__.py

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 64efd9c · Browse files · 4 files+5 added−21 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+5 added−21 removed

  • other:+5 added−21 removed

4 files+5 added−21 removed

deleted:requests/__about__.py-16 removed
1# -*- coding: utf-8 -*-23# .-. .-. .-. . . .-. .-. .-. .-.4# |( |- |.| | | |- `-. | `-.5# ' ' `-' `-`.`-' `-' `-' ' `-'67__title__ = 'requests'8__description__ = 'Python HTTP for Humans.'9__url__ = 'http://python-requests.org'10__version__ = '2.14.2'11__build__ = 0x02140212__author__ = 'Kenneth Reitz'13__author_email__ = 'me@kennethreitz.org'14__license__ = 'Apache 2.0'15__copyright__ = 'Copyright 2017 Kenneth Reitz'16__cake__ = u'✨ 🍰 ✨ Thanks for using my software. It means the world to me. --kennethreitz'
modified:requests/__init__.py+3 added-3 removed
38 unmodified lines
39:copyright: (c) 2017 by Kenneth Reitz.40:license: Apache 2.0, see LICENSE for more details.41"""4243from .__about__ import __title__, __description__, __url__, __version__44from .__about__ import __build__, __author__, __author_email__, __license__45from .__about__ import __copyright__, __cake__43from .__version__ import __title__, __description__, __url__, __version__44from .__version__ import __build__, __author__, __author_email__, __license__45from .__version__ import __copyright__, __cake__4647# Attempt to enable urllib3's SNI support, if possible48try:49 from .packages.urllib3.contrib import pyopenssl
34 unmodified lines
modified:requests/utils.py+1 added-1 removed
18 unmodified lines
19import socket20import struct21import warnings2223from .__about__ import __version__23from .__version__ import __version__24from . import certs25# to_native_string is unused here, but imported here for backwards compatibility26from ._internal_utils import to_native_string27from .compat import parse_http_list as _parse_list_header
876 unmodified lines
modified:setup.py+1 added-1 removed
51 unmodified lines
52requires = []53test_requirements = ['pytest>=2.8.0', 'pytest-httpbin==0.0.7', 'pytest-cov', 'pytest-mock']5455about = {}56with open(os.path.join(here, 'requests', '__about__.py')) as f:56with open(os.path.join(here, 'requests', '__version__.py')) as f:57 exec(f.read(), about)5859with open('README.rst', 'r', 'utf-8') as f:60 readme = f.read()
43 unmodified lines