import os
from distutils.core import setup

# to recusively include all files under app templates and static
app_data_dir = ['SpearmintServer/app/templates', 'SpearmintServer/app/static']
app_data_files = []
for l in app_data_dir:
    for r, d, files in os.walk(l):
        len_prefix = len('SpearmintServer/app/') # to remove the prefix from path
        app_data_files += [os.path.join(r[len_prefix:], f) for f in files]

setup(name='SpearmintServer',
      description='Spearmint Django application',
      version='0.9.4',
      author='J. Lee',
      author_email='jinho89@gmail.com',
      #package_dir={'': 'SpearmintServer'},
      packages=['SpearmintServer',
                'SpearmintServer.app',
                'SpearmintServer.app.templatetags',
                'SpearmintServer.api',
               ],
      package_data={'SpearmintServer.app': app_data_files},
      install_requires=['Django==1.8.5',
                        'MySQL-Python==1.2.5',
                        'python-dateutil>=1.5',
                        'django-oauth-toolkit==0.9.0',
                        'django-cors-headers==1.1.0',
                       ],
     )

@@ -35,16 +35,34 @@
 rt setup
+%0Aimport setuptools
 %0A%0A# to r
@@ -925,13 +925,14 @@
 go==
-1.8.5
+2.2.16
 ',%0A 
@@ -959,27 +959,26 @@
    '
-MySQL-Python==1.2.5
+mysqlclient==2.0.1
 ',%0A 
@@ -1075,13 +1075,13 @@
 it==
-0.9.0
+1.3.2
 ',%0A 
@@ -1129,11 +1129,11 @@
 rs==
-1.1
+3.5
 .0',

Update requirements in setup.py