Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
ENH: raise RuntimeError with informative msg when using python2 on se…
Browse files Browse the repository at this point in the history
…tup.py
  • Loading branch information
yarikoptic committed Mar 18, 2020
1 parent 9d1b636 commit 795ed2e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@

from setuptools import setup

if sys.version_info < (3,):
raise RuntimeError(
"dandi-cli's setup.py requires python 3 or later. "
"You are using %s" % sys.version
)

try:
import versioneer

Expand Down

0 comments on commit 795ed2e

Please sign in to comment.