Skip to content
This repository has been archived by the owner on Mar 26, 2022. It is now read-only.

Commit

Permalink
setup.py: Only require future on Python 2
Browse files Browse the repository at this point in the history
We only use future for the `builtins` module which is standard in
Python 3.

Signed-off-by: Anders Kaseorg <[email protected]>
  • Loading branch information
andersk committed Aug 21, 2019
1 parent 1fb9796 commit f9647d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## x.y.z (unreleased)
- CommonMark now requires `future >= 0.14.0` for uniform `builtins` imports in Python 2/3
- CommonMark now requires `future >= 0.14.0` on Python 2, for uniform `builtins` imports in Python 2/3

## 0.9.0 (2019-05-02)
- The CommonMark spec has been updated to 0.29. Completed by @iamahuman.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def run(self):
},
cmdclass={'test': Test},
install_requires=[
'future>=0.14.0',
'future>=0.14.0;python_version<"3"',
],
tests_require=tests_require,
extras_require={'test': tests_require},
Expand Down

0 comments on commit f9647d0

Please sign in to comment.