-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
executable file
·67 lines (63 loc) · 1.99 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
from setuptools import setup, find_packages
import codecs
import os
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
long_description = "\n" + fh.read()
VERSION = '0.5.0'
DESCRIPTION = 'getpaper - papers download made easy!'
LONG_DESCRIPTION = 'A package with python functions for downloading papers'
# Setting up
setup(
name="getpaper",
version=VERSION,
author="antonkulaga (Anton Kulaga)",
author_email="<[email protected]>",
description=DESCRIPTION,
long_description_content_type="text/markdown",
long_description=long_description,
packages=find_packages(),
install_requires=[
'pycomfort>=0.0.15',
'click',
'pynction',
'langchain>=0.2.1',
'langchain_community>=0.2.1',
'scidownl>=1.0.2',
'semanticscholar>=0.8.1',
'Deprecated',
'PyMuPDF>=1.24.4',
"unpywall>=0.2.3",
"nest_asyncio>=1.6.0",
"chardet",
"transformers"
],
extras_require={
'selenium': ['selenium', 'webdriver-manager'],
'unstructured': [
'pdfminer.six',
'unstructured>=0.10.25',
'unstructured-inference>=0.7.21',
'unstructured[local-inference]',
'unstructured.PaddleOCR>=2.6.1.3'
#'git+https://github.com/facebookresearch/detectron2.git'
],
'plumber': ['pdfplumber>=0.10.3']
},
keywords=['python', 'utils', 'files', 'papers', 'download'],
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
"Operating System :: Unix",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
],
entry_points={
"console_scripts": [
"download=getpaper.download:app",
"parse=getpaper.parse:app"
]
}
)