-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (40 loc) · 1.28 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
from sansorchi import __version__
with open("README.md", encoding="utf-8") as fh:
readme = fh.read()
def setup_package():
metadata = dict(
name="Sansorchi",
packages=["sansorchi"],
version=__version__,
long_description=readme,
long_description_content_type="text/markdown",
description="Remove Persian (Farsi) Swear Words",
author="KomeilParseh",
author_email="ahmdparsh129@gmail.com",
url="https://github.com/KomeilParseh/Sansorchi",
download_url="https://github.com/KomeilParseh/Sansorchi/releases",
install_requires=["hazm>=0.7.0"],
keywords=[
"Improper words",
"swearing",
"sansorchi",
"Sansorchi",
"سانسور",
"سانسورچی",
"فحش",
"پایتون",
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
python_requires=">=3.7",
)
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(**metadata)
if __name__ == "__main__":
setup_package()