-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (43 loc) · 1.44 KB
/
setup.py
File metadata and controls
50 lines (43 loc) · 1.44 KB
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
from setuptools import setup
from setuptools import find_packages
from os.path import join, dirname
with open(join(dirname(__file__), "magapi/VERSION")) as f:
version = f.read().strip()
with open("README.md", "r") as fh:
long_description = fh.read()
install_requires = [
"pandas",
"requests",
"setuptools",
"typing-extensions>=3.7.4.1",
"tabulate",
]
tests_require = ["pytest>=5.3.5", "pytest-cov>=2.8.1"]
setup(
name="magapi-wrapper",
version=version,
description="Tool to download publications from Microsoft Academic Knowledge API",
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering :: Information Analysis",
],
keywords="Microsoft Academic graph, MAG, Knowledge API, Publications",
author="Kantharaju Narayanappa",
author_email="kantharajucn@outlook.com",
url="https://github.com/bethgelab/magapi-wrapper",
license="",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
extras_require={"testing": tests_require},
entry_points={
'console_scripts': ['mag-api=tool.wrapper:main']
},
setup_requires = ['flake8'],
)