forked from mailgun/talon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·60 lines (51 loc) · 1.46 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
from __future__ import absolute_import
import io
from setuptools import setup, find_packages
from setuptools.command.install import install
class InstallCommand(install):
user_options = install.user_options
boolean_options = install.boolean_options
def initialize_options(self):
install.initialize_options(self)
def finalize_options(self):
install.finalize_options(self)
setup(name='talon',
version='1.6.0',
description=("Mailgun library "
"to extract message quotations and signatures."),
long_description=io.open("README.rst", encoding='utf-8').read(),
author='Mailgun Inc.',
author_email='admin@mailgunhq.com',
url='https://github.com/mailgun/talon',
license='APACHE2',
cmdclass={
'install': InstallCommand,
},
packages=find_packages(exclude=[
"tests",
"tests.*",
"talon.signature.extraction",
"talon.signature.extraction.*",
"talon.signature.learning",
"talon.signature.learning.*",
"talon.signature.data",
"talon.signature.data.*",
]),
include_package_data=True,
zip_safe=True,
install_requires=[
"lxml",
"regex",
"chardet",
"cchardet",
"cssselect",
"six",
"html5lib",
"joblib",
],
tests_require=[
"mock",
"nose",
"coverage"
]
)