Skip to content

Commit

Permalink
update setup.py syntax for pipenv compliancy
Browse files Browse the repository at this point in the history
  • Loading branch information
apiraino committed Mar 1, 2018
1 parent b07d0f1 commit d4553e4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
]

extras_require = {
"format": ["rfc3987", "strict-rfc3339", "webcolors"],
":python_version=='2.7'": ["functools32"],
"format": ["rfc3987", "strict-rfc3339", "webcolors"]
}

setup(
Expand All @@ -42,7 +41,10 @@
setup_requires=["setuptools_scm"],
use_scm_version=True,

install_requires=["attrs>=17.3.0", "pyrsistent>=0.14.0", "six>=1.11.0"],
install_requires=[
"attrs>=17.3.0", "pyrsistent>=0.14.0", "six>=1.11.0"
"functools32;python_version<'3'"
],
extras_require=extras_require,

packages=["jsonschema", "jsonschema.tests"],
Expand Down

0 comments on commit d4553e4

Please sign in to comment.