-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (47 loc) · 1.99 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
from setuptools import setup, find_packages
VERSION = '0.1.0'
AUTHORS = 'OLEA Team, Anonymized for Review'
DESCRIPTION = 'OLEA (Offensive Language Error Analysis) is an open source library for diagnostic evaluation and error analysis of models for offensive language detection.'
with open('README.md') as f :
LONG_DESCRIPTION = f.read()
print('Finding packages...')
print(find_packages(where='.' ,
include=['olea*'] ,
exclude=['*unittests*' , '*experiments*']))
# find_packages(where='src' ,
# exclude=['unittests*' , 'experiments*'])
# Setting up
setup(
name = "olea",
version = VERSION,
author = AUTHORS,
author_email = "<[email protected]>",
description = DESCRIPTION,
long_description = LONG_DESCRIPTION,
long_description_content_type='text/markdown',
packages = find_packages(where='.' ,
include=['olea*'] ,
exclude=['*unittests*' , '* experiments*']),
package_data={'olea.utils.twitteraae' : ['model/*.txt']},
include_package_data=True,
install_requires = ['numpy>1.21.0' ,
'scipy>1.6.0' ,
'datasets>2.2.0' ,
'matplotlib>3.0' ,
'pandas>1.2.0' ,
'Pillow>8.0.0' ,
'scikit-learn>1.0' ,
'emoji>1.0',
'wordsegment>1.3'
],
keywords = ['python' ,
'linguistics',
'linguistic-analysis'],
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Education",
"Programming Language :: Python :: 3",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
]
)