-
Notifications
You must be signed in to change notification settings - Fork 33
/
setup.py
72 lines (67 loc) · 1.92 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
"""Install package."""
import io
import os
import re
from setuptools import find_packages, setup
__version__ = re.search(
r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
io.open("paperscraper/__init__.py", encoding="utf_8_sig").read(),
).group(1)
LONG_DESCRIPTION = ""
if os.path.exists("README.md"):
with open("README.md") as fp:
LONG_DESCRIPTION = fp.read()
setup(
name="paperscraper",
version=__version__,
description="paperscraper: Package to scrape papers.",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
author="Jannis Born, Matteo Manica",
author_email=("[email protected], [email protected]"),
url="https://github.com/jannisborn/paperscraper",
license="MIT",
install_requires=[
"arxiv>=1.4.2",
"pymed-paperscraper",
"pandas",
"requests",
"tqdm",
"scholarly>=1.0.0",
"seaborn",
"matplotlib",
"matplotlib_venn",
"bs4",
"impact-factor>=1.1.1",
"thefuzz",
"pytest",
"tldextract",
],
keywords=[
"Academics",
"Science",
"Publication",
"Search",
"PubMed",
"Arxiv",
"Medrxiv",
"Biorxiv",
"Chemrxiv",
"Google Scholar",
],
packages=find_packages("."),
package_data={"paperscraper.server_dumps": ["*"]},
zip_safe=False,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)