Skip to content

Instantly share code, notes, and snippets.

@msabramo
Created May 22, 2014 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msabramo/36e461cd96b4b0ed5630 to your computer and use it in GitHub Desktop.
Save msabramo/36e461cd96b4b0ed5630 to your computer and use it in GitHub Desktop.
TextAnalysis setup.py
"""
** Copyright SurveyMonkey Thu, 08 Nov 2012 01:36:39 **
Source: devmonkeys/TextAnalysis *master c8777c9
Released by: larry1
"""
from setuptools import setup, find_packages
version = '50.0.3'
install_requires = []
with open('requirements.txt') as f:
for line in f.readlines():
if line.startswith('#'):
continue
install_requires.append(line.strip())
setup(
name='TextAnalysis',
version=version,
description='',
author='',
author_email='',
url='',
#install_requires=install_requires,
packages=find_packages(exclude=['ez_setup', 'tests']),
include_package_data=True,
test_suite='nose.collector',
package_data={'text_analysis': ['i18n/*/LC_MESSAGES/*.mo']},
#message_extractors={'text_analysis': [
# ('**.py', 'python', None),
# ('public/**', 'ignore', None)]},
zip_safe=False,
paster_plugins=['PasteScript', 'Pylons'],
entry_points="""
[paste.app_factory]
main = text_analysis.config.middleware:make_app
[paste.app_install]
main = pylons.util:PylonsInstaller
[nose.plugins]
pylons = pylons.test:PylonsPlugin
""",
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment