I never was actually able to successfully install PyML but the source-forge distribution and lack of python3 support convinced me that scikit-learn would be a fine substitute. Flanker was also difficult for me to install and seemed only to be used in the tests, so I removed it as well to get into a position where I could run the tests. As of this commit, only one is not passing (test_standard_replies with android.eml) though I'm not familiar with the `email` library yet.
26 lines
754 B
Python
26 lines
754 B
Python
from setuptools import setup, find_packages
|
|
|
|
|
|
setup(name='talon',
|
|
version='1.0.2',
|
|
description=("Mailgun library "
|
|
"to extract message quotations and signatures."),
|
|
long_description=open("README.rst").read(),
|
|
author='Mailgun Inc.',
|
|
author_email='admin@mailgunhq.com',
|
|
url='https://github.com/mailgun/talon',
|
|
license='APACHE2',
|
|
packages=find_packages(exclude=['tests']),
|
|
include_package_data=True,
|
|
zip_safe=True,
|
|
install_requires=[
|
|
"lxml==2.3.3",
|
|
"regex==0.1.20110315", # handling of .* changes from version 0 to 1
|
|
"html2text",
|
|
"nose==1.2.1",
|
|
"mock",
|
|
"coverage",
|
|
"scikit-learn",
|
|
]
|
|
)
|