From 68ef99afe3afe871e7f5471cbc18452f66c12be0 Mon Sep 17 00:00:00 2001 From: Mallory Hancock Date: Wed, 19 Oct 2016 18:15:43 -0700 Subject: [PATCH] Add check for Python 3 and increment version --- setup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index dfce75b..a10850d 100755 --- a/setup.py +++ b/setup.py @@ -1,16 +1,20 @@ #!/usr/bin/env python3 from setuptools import setup +import sys + +if not sys.version_info[0] == 3: + sys.exit("Sorry, Cistern only supports Python 3.") setup( name="cistern", - version="0.1.3", + version="0.1.4", license="MIT", url="https://github.com/archangelic/cistern", description="Command line tool for downloading torrents from RSS feeds.", author="Michael Hancock", author_email="michaelhancock89@gmail.com", download_url=( - "https://github.com/archangelic/cistern/archive/v0.1.3.tar.gz" + "https://github.com/archangelic/cistern/archive/v0.1.4.tar.gz" ), install_requires=[ 'click',