-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
70 lines (62 loc) · 2.25 KB
/
setup.py
File metadata and controls
70 lines (62 loc) · 2.25 KB
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
import os
from setuptools import setup, find_packages
root_package_name = 'langmodels'
training_package_name = f'{root_package_name}.training'
def readme():
with open('README.rst') as f:
return f.read()
def version():
with open(os.path.join(root_package_name, 'VERSION')) as version_file:
return version_file.read().strip()
setup(name='giganticode-langmodels',
version=version(),
description='A toolkit for applying machine learning to large source code corpora',
long_description=readme(),
long_description_content_type="text/markdown",
url='http://github.com/giganticode/langmodels',
author='giganticode',
author_email='hlibbabii@gmail.com',
license='MIT',
packages=find_packages(),
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.7',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Topic :: Scientific/Engineering :: Artificial Intelligence'
],
python_requires='>=3.6',
keywords='big large data source code corpus machine learning nlp '
'pytorch torch fastai language modeling',
install_requires=[
'fastai>=1.0.57,<2',
'torch>=1.0.0,<=1.4.0',
'torchvision<0.6.0', #indirect dependency, necessary because fastai will install torch==0.5.0 by default
'codeprep>=1.0.0,<2',
'future>=0.18.2,<0.19',
'comet-ml>=3.0.2,<4',
'flatdict>=3.4.0,<4',
'retrying>=1.3.3,<2',
'psutil>=5.6.7,<6',
'tqdm>=4.39,<5',
'jsons>=1.0.0,<2',
'numpy>=1.17,<2',
'appdirs>=1.4.3,<2',
'Columnar>=1.3.1,<2',
'requests>=2.22,<3',
'pysftp>=0.2.9,<0.3',
'semver>=2.9.0,<3',
'dagshub>=0.0.2rc1,<0.1.0',
],
entry_points={
'console_scripts': [
f'langmodels = {training_package_name}.__main__:main'
]
},
include_package_data=True,
zip_safe=False)