generated from vikpe/python-package-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (43 loc) · 1.29 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
from setuptools import setup
def readme():
with open("README.md") as f:
return f.read()
MAJOR, MINOR, MICRO = 0, 2, 0
__VERSION__ = "{}.{}.{}".format(MAJOR, MINOR, MICRO)
setup(
name="corrupted-text",
version=__VERSION__,
description=(
"Corruption of text datasets; model-independent and inspired by"
"real-world corruption causes."
),
long_description_content_type="text/markdown",
long_description=readme(),
# keywords="",
url="https://github.com/testingautomated-usi/corrupted-text",
author="Michael Weiss",
author_email="michael.weiss@usi.ch",
license="MIT",
packages=["corrupted_text"],
install_requires=[
"polyleven==0.7", # Fast levenshtein distance implementation
"numpy>=1.16.4",
],
extras_require={
"lint": [
"flake8==3.8.2",
"black==22.3.0",
"isort==5.6.4",
"docstr-coverage==2.2.0",
],
"test": ["pytest>=6.2.5", "datasets>=1.0.0"],
"acc_measurement": ["datasets>=1.0.0", "tensorflow>=2.6.0"],
},
include_package_data=True,
zip_safe=False,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)