Skip to content

Commit

Permalink
Restored the warning that you need Python 3.5 or higher when trying t…
Browse files Browse the repository at this point in the history
…o install with Python 2.
  • Loading branch information
regebro committed Sep 4, 2018
1 parent d1cd68d commit 6e6a9a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ Changes
- The ReStructuredText directive "figure" now is translated into the HTML5
tag "figure", with the caption becoming a figcaption tag.

- Restored the warning that you need Python 3.5 or higher when trying to
install with Python 2.


2.5 (2017-12-10)
----------------
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from io import open
from setuptools import setup, find_packages
from setuptools.command.install import install
import sys
Expand All @@ -13,7 +14,7 @@
class CustomInstall(install):
def initialize_options(self):
if sys.version < '3':
print("Hovercraft requires Python 3.2 or higher.")
print("Hovercraft requires Python 3.5 or higher.")
sys.exit(1)

return install.initialize_options(self)
Expand Down

0 comments on commit 6e6a9a9

Please sign in to comment.