From 91682c5db1cb4267e719723a15de7b3f34393f9f Mon Sep 17 00:00:00 2001 From: Mike Helmick Date: Tue, 15 Oct 2013 10:53:02 -0400 Subject: [PATCH] Prepare for twython-django pip release --- setup.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) mode change 100644 => 100755 setup.py diff --git a/setup.py b/setup.py old mode 100644 new mode 100755 index 83f1a5b..59d876a --- a/setup.py +++ b/setup.py @@ -1,15 +1,22 @@ -#!/usr/bin/python +#!/usr/bin/env python + +import os +import sys from setuptools import setup from setuptools import find_packages __author__ = 'Ryan McGrath ' -__version__ = '1.5.0' +__version__ = '1.5.1' + +if sys.argv[-1] == 'publish': + os.system('python setup.py sdist upload') + sys.exit() setup( name='twython-django', version=__version__, - install_requires=['twython>=3.0.0', 'django'], + install_requires=['twython>=3.1.0', 'django'], author='Ryan McGrath', author_email='ryan@venodesigns.net', license=open('LICENSE').read(),