-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
68 lines (58 loc) · 1.85 KB
/
setup.py
File metadata and controls
68 lines (58 loc) · 1.85 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
from setuptools import setup
from setuptools.command.develop import develop
from setuptools.command.install import install
import pathlib
from potator.setup_tokenizer import setup_tokenizer
HERE = pathlib.Path(__file__).parent
README = (HERE / "README.md").read_text()
class PostDevelopCommand(develop):
"""Post-installation for development mode."""
def run(self):
develop.run(self)
setup_tokenizer()
class PostInstallCommand(install):
"""Post-installation for installation mode."""
def run(self):
install.run(self)
setup_tokenizer()
setup(
name='potator',
description='',
version='0.1.4',
packages=['potator'],
package_dir={'potator': 'potator'},
install_requires=[
'pygments',
'joblib',
'tqdm',
'tree_sitter',
'PyStemmer',
'Cython'
],
python_requires='>=3.6',
entry_points={
'console_scripts': [
'potator = potator.__main__:main'
]
},
author="Yuriy Rogachev",
long_description=README,
long_description_content_type="text/markdown",
license='MIT',
url='https://github.com/otzhora/potator',
download_url='https://github.com/otzhora/potator/releases/tag/v0.1.4',
keywords=['STATIC-ANALYSIS', 'PLAGIARISM-DETECTION', 'PLAGIARISM-DETECTOR'],
author_email='rogachev.yuiry28@gmail.com',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Quality Assurance',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'],
cmdclass={
'develop': PostDevelopCommand,
'install': PostInstallCommand
})