-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
65 lines (56 loc) · 1.98 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
65
# SPDX-FileCopyrightText: 2020 Hlib Babii <[email protected]>
#
# SPDX-License-Identifier: Apache-2.0
import os
from setuptools import setup, find_packages
root_package_name = 'codeprep'
def readme():
with open('README.md') 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='codeprep',
version=version(),
description='A toolkit for pre-processing large source code corpora',
long_description=readme(),
long_description_content_type="text/markdown",
url='http://github.com/giganticode/codeprep',
author='Hlib Babii',
author_email='[email protected]',
license='Apache-2.0',
packages=find_packages(),
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Topic :: Software Development :: Pre-processors'
],
python_requires='>=3.6',
keywords='big large data source code corpus machine learning pre-processing nlp',
install_requires=[
'appdirs>=1.4, <2',
'dill>=0.3.1.1, <0.4',
'docopt>=0.6.2, <0.7',
'docopt-subcommands>=3.0.0, <4',
'jsons>=1.0, <2',
'nltk>=3.4.5, <4',
'Pygments>=2.5.2, <3',
'PyYAML>=5.1, <6',
'regex>=2019.11.1, <=2020.5.14',
'tqdm>=4.39, <5'
],
entry_points={
'console_scripts': [
f'codeprep = {root_package_name}.__main__:main'
]
},
include_package_data=True,
zip_safe=False)