old_contents: import os
  from setuptools import setup
  
  with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
      README = readme.read()
  
  # allow setup.py to be run from any path
  os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
  
  setup(
      name='tf_core',
      version='0.0.20',
      packages=['tf_core'],
      include_package_data=True,
      license='MIT License',
      description='TextFlows core text mining module',
      long_description=README,
      url='https://github.com/xflows/tf_core',
      author='Matic Perovsek',
      author_email='matic.perovsek@ijs.si',
      classifiers=[
          'Development Status :: 2 - Pre-Alpha',
          'Environment :: Web Environment',
          'Framework :: Django',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Topic :: Internet :: WWW/HTTP',
          'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
          'Topic :: Scientific/Engineering :: Artificial Intelligence',
          'Topic :: Software Development :: Libraries'
      ],
      install_requires=[
          "nltk==3.2.1",
          "django-discover-runner==1.0",
          "numpy",
          "scipy",
          "scikit-learn==0.16.1",
          "python-docx",
          "requests",
          "pdfminer",
          "pattern==2.6"
      ]
  )
  
new_contents: import os
  from setuptools import setup
  
  with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
      README = readme.read()
  
  # allow setup.py to be run from any path
  os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
  
  setup(
      name='tf_core',
      version='0.0.20',
      packages=['tf_core'],
      include_package_data=True,
      license='MIT License',
      description='TextFlows core text mining module',
      long_description=README,
      url='https://github.com/xflows/tf_core',
      author='Matic Perovsek',
      author_email='matic.perovsek@ijs.si',
      classifiers=[
          'Development Status :: 2 - Pre-Alpha',
          'Environment :: Web Environment',
          'Framework :: Django',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Topic :: Internet :: WWW/HTTP',
          'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
          'Topic :: Scientific/Engineering :: Artificial Intelligence',
          'Topic :: Software Development :: Libraries'
      ],
      install_requires=[
          "nltk==3.2.1",
          "django-discover-runner==1.0",
          "numpy",
          "scipy",
          "scikit-learn==0.16.1",
          "python-docx",
          "requests",
          "pattern"
      ]
  )
  
subject: Remove broken pattern version