mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
Updates vendored subliminal to 2.1.0
Updates rarfile to 3.1 Updates stevedore to 3.5.0 Updates appdirs to 1.4.4 Updates click to 8.1.3 Updates decorator to 5.1.1 Updates dogpile.cache to 1.1.8 Updates pbr to 5.11.0 Updates pysrt to 1.1.2 Updates pytz to 2022.6 Adds importlib-metadata version 3.1.1 Adds typing-extensions version 4.1.1 Adds zipp version 3.11.0
This commit is contained in:
parent
d8da02cb69
commit
f05b09f349
694 changed files with 16621 additions and 11056 deletions
|
@ -61,6 +61,11 @@ else:
|
|||
integer_types = (int, long) # noqa
|
||||
|
||||
|
||||
# We use this canary to detect whether the module has already been called,
|
||||
# in order to avoid recursion
|
||||
in_use = False
|
||||
|
||||
|
||||
def pbr(dist, attr, value):
|
||||
"""Implements the actual pbr setup() keyword.
|
||||
|
||||
|
@ -81,6 +86,16 @@ def pbr(dist, attr, value):
|
|||
not work well with distributions that do use a `Distribution` subclass.
|
||||
"""
|
||||
|
||||
# Distribution.finalize_options() is what calls this method. That means
|
||||
# there is potential for recursion here. Recursion seems to be an issue
|
||||
# particularly when using PEP517 build-system configs without
|
||||
# setup_requires in setup.py. We can avoid the recursion by setting
|
||||
# this canary so we don't repeat ourselves.
|
||||
global in_use
|
||||
if in_use:
|
||||
return
|
||||
in_use = True
|
||||
|
||||
if not value:
|
||||
return
|
||||
if isinstance(value, string_type):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue