-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
49 lines (45 loc) · 1.51 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
import re
from setuptools import setup, find_packages
version = re.search(
r'(__version__ = "(\d\.\d(\.\d+)?)")',
open("negar/constants.py", encoding="utf8").read(),
re.M,
).group(2)
setup(
name="python-negar",
version=version,
author="Shahin Azad",
author_email="ishahinism@gmail.com",
maintainer="Javad Razavian, Alireza Savand",
maintainer_email="javadr@gmail.com, alireza.savand@gmail.com",
include_package_data=True,
packages=find_packages() + ["negar"],
install_requires=[
"regex",
],
package_dir={"negar": "negar"},
package_data={"negar/data": ["data/*.dat"]},
description="Negar is a spell corrector and Persian text editor",
license="GPL",
keywords="spellcheck Persian editor",
url="http://github.com/shahinism/python-negar",
entry_points={
"console_scripts": [
"negar = negar.gui:main",
],
},
long_description_content_type="text/markdown",
long_description=open("README.md", encoding="utf8").read(),
python_requires=">=3.6",
classifiers=[
"Environment :: Console",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
)