-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
99 lines (90 loc) · 2.72 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst'), encoding='utf8').read()
requires = [ #I had to comment here to use conda installation instead of pip
'pyparsing',
# 'python-epo-ops-client',
'dogpile.cache',
'requests',
# 'networkx',
# 'pydot',
# 'pygraphviz',
# 'beautifulsoup4',
# 'numpy',
# 'matplotlib',
# 'python-louvain',
# 'jinja2',
# 'lxml',
'sphinx-jsonschema',
'sphinxcontrib-httpdomain',
'sphinxcontrib-httpexample',
'docopt',
'jsonpointer',
'attrs',
# 'Pillow',
'where',
# 'docopt',
'numpy',
'Flask',
'flask-cors'
]
test_requires = [
]
setup(name='patent2net',
version='4.0.0-dev1',
description='Patent2Net is a testbed for working on patent information processing and statistical analysis for education and science.',
long_description=README,
license="CeCILL-2.1",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Information Technology",
"Intended Audience :: Legal Industry",
"Intended Audience :: Manufacturing",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: CEA CNRS Inria Logiciel Libre License, version 2.1 (CeCILL-2.1)",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Environment :: Console",
"Environment :: MacOS X",
"Environment :: Web Environment",
"Environment :: Win32 (MS Windows)",
"Programming Language :: JavaScript",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Scientific/Engineering",
],
author='The Patent2Net Developers',
url='https://github.com/Patent2net/P2N-v3',
keywords='patent information research '
'patent patents patent-search patent-data information information-retrieval intellectual-property '
'research researcher researchers research-data research-tool research-and-development '
'epo-ops open-data opendata '
,
packages=find_packages(),
include_package_data=True,
package_data={
},
zip_safe=False,
install_requires=requires,
tests_require=test_requires,
extras_require={
'test': test_requires,
},
entry_points={
'console_scripts': [
'p2n = p2n.command:run',
],
},
)
#downloading some corpora for nltk processes
# @ Nezha add your spécifics needs down here...
import nltk
nltk.download('stopwords')
nltk.download('punkt')