-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
64 lines (58 loc) · 1.94 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open('README.md') as readme_file:
readme = readme_file.read()
requirements = [
"tensorflow",
"numpy",
"matplotlib",
"seaborn",
"jupyter",
"nltk",
"nltk_contrib @ git+https://github.com/nltk/nltk_contrib.git",
"gensim",
"theano",
"pytest",
"brain-score @ git+https://github.com/brain-score/brain-score.git",
"result_caching @ git+https://github.com/brain-score/result_caching.git",
"netCDF4",
"pillow",
"llist",
"skip-thoughts @ git+https://github.com/mschrimpf/skip-thoughts.git@c8a3cd5",
"lm_1b @ git+https://github.com/mschrimpf/lm_1b.git@1ff7382",
"nbsvm",
# the following require pytorch>=0.4 which is incompatible with `architecture_sampling` which requires =0.2.0
"OpenNMT-py @ git+https://github.com/mschrimpf/OpenNMT-py.git@f339063",
"text @ git+https://github.com/pytorch/text.git",
"transformers",
]
test_requirements = [
"pytest",
"pytest-timeout",
]
setup(
name='neural-nlp',
version='0.1.0',
description="Can artificial neural networks capture language processing in the human brain?",
long_description=readme,
author="Martin Schrimpf",
author_email='msch@mit.edu',
url='https://github.com/mschrimpf/neural-nlp',
packages=find_packages(exclude=['tests']),
install_requires=requirements,
license="MIT license",
zip_safe=False,
keywords='computational neuroscience, human language, '
'machine learning, deep neural networks, recursive neural networks',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
test_suite='tests',
tests_require=test_requirements
)