click-contrib / click-completion

Add or enhance bash, fish, zsh and powershell completion in Click
MIT License
288 stars 32 forks source link

setup.py relies on old-style extras syntax #15

Closed techalchemy closed 6 years ago

techalchemy commented 6 years ago

This isn't a huge deal, but the format of conditional dependency declaration has changed somewhat (I am in the process of updating our vendored dependencies in pipenv which is why I caught this)

Before:

    install_requires=[
        'click',
        'jinja2',
        'six',
        'shellingham',
    ],
    extras_require={
        ":python_version < '3'": ["enum34"],
},

After:

    install_requires=[
        'click',
        'jinja2',
        'six',
        'shellingham',
        'enum34; python_version<"3"'
    ],