forked from MAIF/melusine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·91 lines (83 loc) · 2.53 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from setuptools import setup
with open("README.md") as readme_file:
readme = readme_file.read()
with open("HISTORY.rst") as history_file:
history = history_file.read()
requirements = [
"pandas>=0.25.0",
"scikit-learn>=0.19.0",
"gensim>=3.3.0",
"tqdm>=4.34",
"streamlit>=0.57.3",
"tensorflow>=2.2.0",
"unidecode",
"flashtext>=2.7",
"plotly",
"transformers==3.4.0",
"h5py==2.10.0",
"numpy>=1.16.4,<1.19.0",
"joblib",
]
setup_requirements = [
"pytest-runner",
]
test_requirements = [
"pytest",
]
setup(
author="Sacha Samama, Tom Stringer, Antoine Simoulin, Benoit Lebreton, Tiphaine Fabre",
author_email="[email protected]",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
description="Melusine is a high-level package for french emails preprocessing, classification and feature extraction, written in Python.",
entry_points={},
install_requires=requirements,
license="Apache Software License 2.0",
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
keywords="melusine",
name="melusine",
package_dir={
"melusine": "melusine",
"melusine.config": "melusine/config",
"melusine.utils": "melusine/utils",
"melusine.nlp_tools": "melusine/nlp_tools",
"melusine.prepare_email": "melusine/prepare_email",
"melusine.summarizer": "melusine/summarizer",
"melusine.models": "melusine/models",
"melusine.data": "melusine/data",
},
packages=[
"melusine",
"melusine.config",
"melusine.utils",
"melusine.nlp_tools",
"melusine.prepare_email",
"melusine.summarizer",
"melusine.models",
"melusine.data",
],
data_files=[
("config", ["melusine/config/conf.json"]),
("config", ["melusine/config/names.csv"]),
("data", ["melusine/data/emails.csv"]),
],
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/MAIF/melusine",
version="2.2.6",
zip_safe=False,
)