Skip to content

Commit

Permalink
added a check in setup.py for python3
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrogauci committed Mar 1, 2020
1 parent 0fcd94e commit 9f71776
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,19 @@
# MA 02110-1301, USA.

import io
import sys

if sys.version_info[0] < 3:
raise Exception("Must be using Python 3")


from os import path
from setuptools import setup, find_packages

from setuptools import find_packages, setup

from sipvicious.libs.svhelper import __author__, __version__


this_directory = path.abspath(path.dirname(__file__))
with io.open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
desc = f.read()
Expand Down

0 comments on commit 9f71776

Please sign in to comment.