forked from saltudelft/type4py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (42 loc) · 1.6 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
from setuptools import setup, find_packages
from os import path, environ
from type4py import __version__
here = path.abspath(path.dirname(__file__))
with open('requirements.txt') as f:
required_deps = f.read().splitlines()
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
if "T4PY_LOCAL_MODE" in environ:
required_deps.remove("torch")
setup(
name='type4py',
version=__version__,
description='Type4Py: Deep Similarity Learning-Based Type Inference for Python',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/saltudelft/type4py',
author='Amir M. Mir (TU Delft)',
author_email='mir-am@hotmail.com',
classifiers=[
'Environment :: Console',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Operating System :: Unix',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords='deep learning type inference prediction similarity learning python source code type4py',
packages=find_packages(),
package_data={'type4py': ['model_params.json']},
python_requries='>=3.6',
install_requires=required_deps,
entry_points={
'console_scripts': [
'type4py = type4py.__main__:main',
],
}
)