-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathsetup.py
41 lines (38 loc) · 1.52 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
from setuptools import setup
import re
with open("README.md", "r", encoding='utf8') as fh:
long_description = fh.read()
# Remove badges from README.md
long_description = re.sub(r'!\[.*?\]\(https://img.shields.io/.*?\)\n?', '', long_description)
long_description = re.sub(r'\[\]\(https?://[^\)]+\)\n?', '', long_description)
setup(
name='semanticscholar',
version='0.10.0',
description='Unofficial Python client library for Semantic Scholar APIs.',
long_description=long_description,
long_description_content_type="text/markdown",
url='http://danielnsilva.com/semanticscholar',
author='Daniel Silva',
author_email='danielnsilva@gmail.com',
license='MIT',
packages=['semanticscholar'],
python_requires='>=3.8',
install_requires=['tenacity', 'httpx', 'nest_asyncio'],
test_suite='tests',
tests_require=['vcrpy'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Libraries :: Python Modules'
],
zip_safe=False
)