-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsetup.py
78 lines (73 loc) · 2.15 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import setuptools
import sys
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
INSTALL_REQUIRES = [
"click<7.2.0,>=7.1.1",
"docx2txt==0.8",
"gensim==4.0.1",
"googletrans==2.4.0",
"jellyfish==0.8.2",
"langid==1.1.6",
"matplotlib>=3.3.4",
"networkx==2.5.1",
"nltk==3.6.2",
"pandas>=0.25.3",
"pdf2image==1.16.0",
"PyPDF2==1.26.0",
"pyspellchecker==0.6.2",
"pytesseract==0.3.7; python_version<'3.8.4'",
"pytesseract>=0.3.7; python_version>='3.8.5'",
"python-docx>=0.8.11",
'pywin32>=227; platform_system=="Windows"',
"opencv-python>=4.5.2.54",
"reportlab==3.5.68",
"scikit-learn>=0.24.2",
"slate3k==0.5.3",
"spacy>=3.0.6",
"stanza>=1.2.1",
"wordcloud>=1.8.1",
]
PACKAGE_NAME = "ConTexto"
setuptools.setup(
name=PACKAGE_NAME,
version="0.2.0",
author="Departamento Nacional de Planeación - DNP",
author_email="[email protected]",
maintainer="Unidad de Científicos de Datos - UCD",
maintainer_email="[email protected]",
description=(
"Librería para el procesamiento y análisis de texto con Python"
),
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
keywords=[
"Python",
"OCR",
"NLP",
"Español",
"Text processing",
"UCD",
"DNP",
],
url="https://github.com/ucd-dnp/ConTexto",
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=INSTALL_REQUIRES,
project_urls={
"Documentación": "https://ucd-dnp.github.io/contexto/",
"Seguimiento de fallas": "https://github.com/ucd-dnp/ConTexto/issues",
},
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
python_requires=">=3.6.2",
)