-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (50 loc) · 1.92 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
import sys
from setuptools import setup, find_packages
if sys.version_info < (3, 5, 0):
typing = ["typing"]
else:
typing = []
setup(
name="ast2vec",
description="Part of source{d}'s stack for machine learning on source "
"code. Provides API and tools to train and use models based "
"on source code identifiers extracted from Babelfish's UASTs.",
version="0.3.4-alpha",
license="Apache 2.0",
author="source{d}",
author_email="machine-learning@sourced.tech",
url="https://github.com/src-d/ast2vec",
download_url="https://github.com/src-d/ast2vec",
packages=find_packages(exclude=("ast2vec.tests",)),
entry_points={
"console_scripts": ["ast2vec=ast2vec.__main__:main"],
},
keywords=["machine learning on source code", "word2vec", "id2vec",
"github", "swivel", "nbow", "bblfsh", "babelfish"],
install_requires=["PyStemmer>=1.3,<2.0",
"numpy>=1.12,<2.0",
"scipy>=0.17,<1.0",
"clint>=0.5.0",
"asdf>=1.2,<2.0",
"google-cloud-storage>=1.0,<2.0",
"python-dateutil",
"modelforge>=0.2.6-alpha",
"bblfsh>=0.2.1,<1.0",
"netifaces>=0.10.6"] + typing,
extras_require={
"tf": ["tensorflow>=1.0,<2.0"],
"tf_gpu": ["tensorflow-gpu>=1.0,<2.0"],
},
package_data={"": ["LICENSE", "README.md"]},
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Software Development :: Libraries"
]
)