-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
74 lines (69 loc) · 2.06 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
"""
Setup script to install `doi2bibtex` as a Python package.
"""
# -----------------------------------------------------------------------------
# IMPORTS
# -----------------------------------------------------------------------------
from setuptools import find_packages, setup
# -----------------------------------------------------------------------------
# RUN setup() FUNCTION
# -----------------------------------------------------------------------------
# Run setup()
setup(
name="doi2bibtex",
author="Timothy Gebhard",
url="https://github.com/timothygebhard/doi2bibtex",
description=(
"Resolve DOIs and arXiv identifiers to formatted BibTeX entries"
),
long_description=(
"See [project homepage](https://github.com/timothygebhard/doi2bibtex) "
"for more information."
),
long_description_content_type="text/markdown",
classifiers=[
"License :: OSI Approved :: BSD License",
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
],
install_requires=[
"beautifulsoup4",
"bibtexparser",
"isbnlib",
"pylatexenc",
"pyyaml",
"requests",
"rich",
"unidecode",
],
extras_require={
"develop": [
"coverage",
"deepdiff",
"flake8",
"mypy",
"pytest",
"pytest-cov",
"pytest-mock",
"types-beautifulsoup4",
"types-PyYAML",
"types-requests",
"types-setuptools",
]
},
entry_points={
"console_scripts": [
"d2b = doi2bibtex.cli:main",
],
},
use_scm_version=True,
setup_requires=["setuptools_scm"],
packages=find_packages(),
zip_safe=False,
)