-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
47 lines (43 loc) · 1.42 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
import subprocess
from setuptools import setup, find_packages
def get_version():
return subprocess.check_output(["git", "describe", "--tags", "--abbrev=0"]).strip().decode("utf-8")[1:]
setup(
name="copy-spotter",
version=get_version(),
packages=find_packages(),
install_requires=[
"beautifulsoup4==4.10.0",
"nltk==3.6.6",
"odfpy==1.4.1",
"tabulate==0.8.9",
"tqdm==4.66.3",
"pdfminer.six==20200517",
],
extras_require={
"lint": ["pylint==3.0.2", "mypy==1.7.1", "flake8==6.1.0", "black==24.3.0", "types-tabulate"],
"dev": ["pytest", "pre-commit"],
},
author="Clément Delteil",
author_email="clement45.delteil45@gmail.com",
description="Make plagiarism detection easier. This package will find similar sentences between given files and "
"highlight them in a side by side comparison.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/Wazzabeee/copy-spotter",
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
],
python_requires=">=3.10",
entry_points={
"console_scripts": [
"copy-spotter=scripts.main:main",
],
},
include_package_data=True,
package_data={
"scripts": ["template.html"],
},
)