Skip to content

Commit

Permalink
exit when trying to run python setup.py test
Browse files Browse the repository at this point in the history
  • Loading branch information
ilanschnell committed Feb 20, 2023
1 parent 58f68e2 commit 707a7d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import re
import sys
try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension

if "test" in sys.argv:
exit('ERROR: To run the bitarray test suite, type:\n\n'
' python -c "import bitarray; bitarray.test()\n')

kwds = {}
try:
Expand Down

0 comments on commit 707a7d3

Please sign in to comment.