Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit aca4c43

Browse files
committed
upload_doc must be run with python 3
1 parent e1e535b commit aca4c43

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@ class upload_doc(distutils.cmd.Command):
216216
user_options = []
217217

218218
def initialize_options(self):
219-
pass
219+
if sys.version_info < (3,):
220+
raise SystemExit('upload_doc must be run with python 3')
220221

221222
def finalize_options(self):
222223
pass

0 commit comments

Comments
 (0)