Only do `pdbpp` from `git` install on 3.10+

signint_saviour
Tyler Goodlet 2022-07-10 17:36:39 -04:00
parent 519f4c300b
commit 4e08605b0d
1 changed files with 12 additions and 5 deletions

View File

@ -54,16 +54,23 @@ setup(
# tooling
'colorlog',
'wrapt',
# pip ref docs on these specs:
# https://pip.pypa.io/en/stable/reference/requirement-specifiers/#examples
# and pep:
# https://peps.python.org/pep-0440/#version-specifiers
'pdbpp <= 0.10.1; python_version < "3.10"',
# 3.10 has an outstanding unreleased issue and `pdbpp` itself
# pins to patched forks of its own dependencies as well.
"pdbpp @ git+https://github.com/pdbpp/pdbpp@master#egg=pdbpp ; python_version >= '3.10'", # noqa: E501
# windows deps workaround for ``pdbpp``
# https://github.com/pdbpp/pdbpp/issues/498
# https://github.com/pdbpp/fancycompleter/issues/37
'pyreadline3 ; platform_system == "Windows"',
'pdbpp',
# 3.10 has an outstanding unreleased issue and `pdbpp` itself
# pins to patched forks of its own dependencies as well.
"pdbpp @ git+https://github.com/pdbpp/pdbpp@master#egg=pdbpp", # noqa: E501
# serialization
'msgspec >= "0.4.0"'