forked from vzhou842/profanity-check
-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
34 lines (31 loc) · 1.2 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
"""Setup"""
from pathlib import Path
import setuptools
long_description = Path("README.md").read_text(encoding="utf8")
setuptools.setup(
name="alt-profanity-check",
version="1.5.2",
author="Victor Zhou (original author), Menelaos Kotoglou, Dimitrios Mistriotis",
author_email="[email protected]",
description=(
"A fast, robust library to check for offensive language in strings. "
'Dropdown replacement of "profanity-check".'
),
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/dimitrismistriotis/alt-profanity-check",
packages=setuptools.find_packages(),
install_requires=["scikit-learn==1.5.2", "joblib>=1.4.2"],
python_requires=">=3.9",
package_data={"profanity_check": ["data/model.joblib", "data/vectorizer.joblib"]},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points={
"console_scripts": ["profanity_check=profanity_check.command_line:main"],
},
)