forked from snguyenthanh/better_profanity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (29 loc) · 1.05 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
import setuptools
from better_profanity import __version__
with open("README.md", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="better_profanity",
version=__version__,
author="Son Nguyen Thanh",
author_email="[email protected]",
description="Blazingly fast cleaning swear words (and their leetspeak) in strings",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/snguyenthanh/better_profanity",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires="==3.*",
packages=setuptools.find_packages(),
data_files=[
("wordlist", ["better_profanity/profanity_wordlist.txt"]),
("unicode_characters", ["better_profanity/alphabetic_unicode.json"]),
],
package_data={
"better_profanity": ["profanity_wordlist.txt", "alphabetic_unicode.json"]
},
include_package_data=True,
)