from setuptools import setup
import sys

try:
  from PyQt4.QtCore import QT_VERSION_STR
except ImportError:
  sys.exit("PyQt4 is required to install this package (see README.md for installation instructions)")

setup(
  name = "wethepeopletoolkit",
  version = "1.4",
  author = "Alex Peattie",
  author_email = "me@alexpeattie.com",
  description = ("A project for analyzing and visualizing data from the Obama-era 'We the People' petitions site."),
  license = "MIT",
  keywords = "wethepeople petitions datascience analysis",
  url = "https://github.com/alexpeattie/wethepeopletoolkit",
  download_url = 'https://github.com/alexpeattie/wethepeopletoolkit/archive/1.4.tar.gz',
  install_requires=[
    'bs4',
    'click',
    'pandas',
    'numpy',
    'bitstring',
    'base58',
    'matplotlib',
    'findspark',
    'sklearn',
    'scipy'
  ],
  pymodules=['wethepeopletoolkit'],
  entry_points= {
    'console_scripts': ['wethepeopletoolkit = wethepeopletoolkit:cli']
  }
)
from setuptools import setup
import sys

try:
  from PyQt4.QtCore import QT_VERSION_STR
except ImportError:
  sys.exit("PyQt4 is required to install this package (see README.md for installation instructions)")

setup(
  name = "wethepeopletoolkit",
  version = "1.3",
  author = "Alex Peattie",
  author_email = "me@alexpeattie.com",
  description = ("A project for analyzing and visualizing data from the Obama-era 'We the People' petitions site."),
  license = "MIT",
  keywords = "wethepeople petitions datascience analysis",
  url = "https://github.com/alexpeattie/wethepeopletoolkit",
  download_url = 'https://github.com/alexpeattie/wethepeopletoolkit/archive/1.3.tar.gz',
  install_requires=[
    'bs4',
    'click',
    'pandas',
    'numpy',
    'bitstring',
    'base58',
    'matplotlib',
    'findspark',
    'sklearn',
    'scipy'
  ],
  pymodules=['wethepeopletoolkit'],
  entry_points='''
    [console_scripts]
    wethepeopletoolkit=wethepeopletoolkit:cli
  '''
)
--- 
+++ 
@@ -8,14 +8,14 @@
 
 setup(
   name = "wethepeopletoolkit",
-  version = "1.3",
+  version = "1.4",
   author = "Alex Peattie",
   author_email = "me@alexpeattie.com",
   description = ("A project for analyzing and visualizing data from the Obama-era 'We the People' petitions site."),
   license = "MIT",
   keywords = "wethepeople petitions datascience analysis",
   url = "https://github.com/alexpeattie/wethepeopletoolkit",
-  download_url = 'https://github.com/alexpeattie/wethepeopletoolkit/archive/1.3.tar.gz',
+  download_url = 'https://github.com/alexpeattie/wethepeopletoolkit/archive/1.4.tar.gz',
   install_requires=[
     'bs4',
     'click',
@@ -29,8 +29,7 @@
     'scipy'
   ],
   pymodules=['wethepeopletoolkit'],
-  entry_points='''
-    [console_scripts]
-    wethepeopletoolkit=wethepeopletoolkit:cli
-  '''
+  entry_points= {
+    'console_scripts': ['wethepeopletoolkit = wethepeopletoolkit:cli']
+  }
 )
Change how console_scripts is invoked
