Spaces:
Runtime error
Runtime error
Create setup.py
Browse files
setup.py
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from setuptools import setup, find_packages
|
| 2 |
+
|
| 3 |
+
with open("README.md", "r", encoding="utf-8") as fh:
|
| 4 |
+
long_description = fh.read()
|
| 5 |
+
|
| 6 |
+
setup(
|
| 7 |
+
name='streamlit-pdf-processor',
|
| 8 |
+
version='0.1.0',
|
| 9 |
+
author='Seu Nome',
|
| 10 |
+
author_email='seu@email.com',
|
| 11 |
+
description='Um aplicativo Streamlit para processar PDFs com mapas de calor e OCR.',
|
| 12 |
+
long_description=long_description,
|
| 13 |
+
long_description_content_type="text/markdown",
|
| 14 |
+
url='https://github.com/seu-usuario/seu-repositorio',
|
| 15 |
+
packages=find_packages(),
|
| 16 |
+
classifiers=[
|
| 17 |
+
"Programming Language :: Python :: 3",
|
| 18 |
+
"License :: OSI Approved :: MIT License",
|
| 19 |
+
"Operating System :: OS Independent",
|
| 20 |
+
],
|
| 21 |
+
python_requires='>=3.8',
|
| 22 |
+
install_requires=[
|
| 23 |
+
'streamlit',
|
| 24 |
+
'PyMuPDF',
|
| 25 |
+
'Pillow',
|
| 26 |
+
'pandas',
|
| 27 |
+
'rich',
|
| 28 |
+
'scikit-image',
|
| 29 |
+
'numpy',
|
| 30 |
+
'scipy',
|
| 31 |
+
'easyocr',
|
| 32 |
+
'transformers',
|
| 33 |
+
'torch',
|
| 34 |
+
'scikit-learn',
|
| 35 |
+
'psutil',
|
| 36 |
+
'matplotlib'
|
| 37 |
+
],
|
| 38 |
+
)
|