Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[wheel]
[bdist_wheel]
universal = 0

[metadata]
requires_dist =
botocore==1.43.49
docutils>=0.18.1,<=0.19
s3transfer>=0.19.0,<0.20.0
PyYAML>=3.10,<6.1
colorama>=0.2.5,<0.4.7
rsa>=3.1.2,<4.8
[options]
install_requires =
botocore==1.43.49
docutils>=0.18.1,<=0.19
s3transfer>=0.19.0,<0.20.0
PyYAML>=3.10,<6.1
colorama>=0.2.5,<0.4.7
rsa>=3.1.2,<4.8

[check-manifest]
ignore =
Expand All @@ -28,4 +28,4 @@ ignore =
scripts
scripts/*
doc
doc/*
doc/*
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ def read(*parts):

def find_version(*file_paths):
version_file = read(*file_paths)
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
version_file, re.M)
version_match = re.search(r"^__version__\s*=\s*['\"]([^'\"]*)['\"]",
version_file, re.M)
if version_match:
return version_match.group(1)
raise RuntimeError("Unable to find version string.")
Expand Down Expand Up @@ -81,8 +81,8 @@ def find_version(*file_paths):
'optimize': 0,
'skip_archive': True,
'dll_excludes': ['crypt32.dll'],
'packages': ['docutils', 'urllib', 'httplib', 'HTMLParser',
'awscli', 'ConfigParser', 'xml.etree', 'pipes'],
'packages': ['docutils', 'urllib', 'http.client', 'html.parser',
'awscli', 'configparser', 'xml.etree', 'pipes'],
}
}
setup_options['console'] = ['bin/aws']
Expand Down
4 changes: 2 additions & 2 deletions tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def __ne__(self, other):
return not self.__eq__(other)


# CaseInsensitiveDict from requests that must be serializble.
# CaseInsensitiveDict from requests that must be serializable.
class CaseInsensitiveDict(collections_abc.MutableMapping):
def __init__(self, data=None, **kwargs):
self._store = dict()
Expand Down Expand Up @@ -320,7 +320,7 @@ def __eq__(self, other):

# Copy is required
def copy(self):
return CaseInsensitiveDict(self._store.values())
return CaseInsensitiveDict(dict(self._store.values()))

def __repr__(self):
return str(dict(self.items()))
Expand Down