From 47ac6a343e1c1b48129f922bbf8459da58afe391 Mon Sep 17 00:00:00 2001 From: Prabhu Ramachandran Date: Tue, 31 Jan 2017 23:24:26 +0530 Subject: Remove forced dependency on mysql. This does not seem necessary to test yaksh and run it with sqlite. Production deployment should really use a separate requirements file. --- setup.py | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 34a4a54..37ed948 100644 --- a/setup.py +++ b/setup.py @@ -1,27 +1,18 @@ import os from setuptools import setup, find_packages -import sys README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) -install_requires=[ +install_requires = [ 'django==1.9.5', 'django-taggit==0.18.1', 'pytz==2016.4', 'python-social-auth==0.2.19', 'tornado', ] -if sys.version_info[:2] == (2, 7): - install_requires+=[ - 'mysql-python==1.2.5' -] -if sys.version_info[0] >= 3: - install_requires+=[ - 'mysqlclient==1.3.9' -] setup( name='yaksh', @@ -30,9 +21,9 @@ setup( version='0.1.3', packages=find_packages(), include_package_data=True, - url = 'https://pypi.python.org/pypi/yaksh/', + url='https://pypi.python.org/pypi/yaksh/', license='BSD License', - entry_points = { + entry_points={ 'console_scripts': [ 'yaksh = yaksh.scripts.cli:main', ], -- cgit