forked from JoaoFelipe/snowballing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
68 lines (59 loc) · 1.78 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
import os
from setuptools import setup, find_packages
def recursive_path(pack, paths):
matches = []
for path in paths:
for root, dirnames, filenames in os.walk(os.path.join(pack, path)):
for filename in filenames:
matches.append(os.path.join(root, filename)[len(pack) + 1:])
return matches
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst').replace("\r", "")
except (IOError, ImportError):
print("pypandoc not found!")
long_description = "Provides tools for literature snowballing"
setup(
name="Snowballing",
version="1.1.0",
url="https://github.com/JoaoFelipe/snowballing",
description="Provides tools for literature snowballing",
long_description=long_description,
packages=find_packages(),
package_data={
"snowballing": recursive_path("snowballing", ["example", "bibtex"])
},
author=("Joao Felipe Pimentel",),
author_email="[email protected]",
license="MIT",
keywords="snowballing literature paper article scholar",
python_requires='>=3.5',
install_requires=[
'ipython',
'jupyter',
'ipywidgets>=7.4.2',
'pyposast',
'svgwrite',
'bibtexparser>=1.1.0',
'bs4',
'selenium',
'svgwrite',
'matplotlib',
'pandas',
'seaborn',
'numpy',
],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
entry_points={
'console_scripts': [
'snowballing=snowballing:main',
],
},
)