-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
58 lines (54 loc) · 1.64 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_namespace_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open("VERSION", "r", encoding="utf-8") as fh:
version = fh.read().strip()
setup(
name="cltl.triple_extraction",
description="The Leolani Language module for knowledge extraction",
version=version,
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/leolani/cltl-knowledgeextraction",
license='MIT License',
authors={
"Bajc̆etic": ("Lenka Bajc̆etic", "[email protected]"),
"Baez Santamaria": ("Selene Baez Santamaria", "[email protected]"),
"Baier": ("Thomas Baier", "[email protected]")
},
package_dir={'': 'src'},
packages=find_namespace_packages(include=['cltl.*', 'cltl_service.*'], where='src'),
package_data={
'cltl.triple_extraction': [
'stanford-ner/*',
'stanford-ner/**/*',
'stanford-pos/*',
'stanford-pos/**/*'
],
'cltl.triple_extraction.conversational_triples': [
'predicate_norm.json'
]
},
python_requires='>=3.7',
install_requires=[
'nltk~=3.4',
'stanford_openie~=1.3',
'spacy~=3.2',
'stanza~=1.5',
"cltl.combot"
],
extras_require={
"service": [
"cltl.combot",
"cltl.emissor-data[client]"
],
"conversational": [
"torch~=1.12",
"transformers~=4.10",
"tqdm"
]
},
setup_requires=['flake8']
)