forked from commonsense/conceptnet5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (40 loc) · 1.45 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
#!/usr/bin/env python
from setuptools import setup, find_packages, Command
from setuptools.command.install import install
from setuptools.command.develop import develop
import sys
packages = find_packages()
version_str = '5.5.5'
if sys.version_info.major < 3:
print("The ConceptNet 5 code can only run in Python 3.")
sys.exit(1)
setup(
name = 'ConceptNet',
version = version_str,
description = 'A semantic network of general knowledge',
author = "Rob Speer",
author_email = 'rspeer@luminoso.com',
packages=packages,
include_package_data=True,
exclude_package_data={'conceptnet5': ['support_data/testdata']},
install_requires=[
'snakemake', 'click', 'requests', 'ftfy', 'numpy', 'scipy',
'msgpack-python', 'langcodes >= 1.3', 'wordfreq >= 1.5',
'xmltodict >= 0.11.0, < 0.12.0', 'ordered_set', 'pg8000',
'marisa-trie'
],
license = 'Apache License 2.0',
entry_points = {
'console_scripts': [
'cn5-vectors = conceptnet5.vectors.cli:cli',
'cn5-read = conceptnet5.readers.cli:cli',
'cn5-build = conceptnet5.builders.cli:cli',
'cn5-convert = conceptnet5.formats.convert:cli',
'cn5-db = conceptnet5.db.cli:cli'
]
},
extras_require={
'vectors': ['numpy', 'scipy', 'statsmodels', 'tables', 'pandas', 'scikit-learn',
'mecab-python3', 'jieba', 'marisa_trie', 'matplotlib >= 2', 'annoy']
},
)