-
Notifications
You must be signed in to change notification settings - Fork 29
/
setup.py
71 lines (66 loc) · 1.88 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
"""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",
"pandas",
"requests",
"tqdm",
"scholarly>=1.0.0",
"seaborn",
"matplotlib",
"matplotlib_venn",
"bs4",
"impact-factor>=1.1.0",
"thefuzz",
"pytest",
],
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",
],
)