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

Commit 63d2a4e

Browse files
authored
Merge pull request #236 from sass/upload_doc_python3
upload_doc must be run with python 3
2 parents e1e535b + aca4c43 commit 63d2a4e

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)