-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (42 loc) · 1.04 KB
/
setup.py
File metadata and controls
48 lines (42 loc) · 1.04 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
import os
from setuptools import setup, find_packages
from setuptools.command.install import install
def _post_install():
import nltk
nltk.download('punkt')
class MyInstall(install):
def run(self):
install.run(self)
self.execute(_post_install, [], msg='running _post_install task')
setup(
name="AutomatedSearchHelper",
version="0.0.1",
author="Marek Sośnicki",
packages=find_packages(),
cmdclass={'install': MyInstall},
install_requires=[
'flask',
'flask_wtf',
'flask_jsglue',
'werkzeug',
'wtforms',
'beautifulsoup4',
'crossrefapi',
#'slate', # problematic install
'utils',
'rispy',
'cattrs',
'nltk',
'bibtexparser',
'pytest',
'pytesseract',
'pdf2image',
'selenium'],
scripts=[
'run_articles_download.py',
'run_articles_search.py',
'run_results_html_generation.py',
'run_whole_search.py',
'create_proxy_configuration.py'
]
)