Skip to content

Commit

Permalink
feat: add setup changelog and version
Browse files Browse the repository at this point in the history
  • Loading branch information
Wazzabeee committed Apr 20, 2024
1 parent 44e158d commit f313ee7
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ repos:
language: system
args: ['--rcfile=setup.cfg', '--fail-under=8']
types: [python]
exclude: '^setup\.py$'

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.9.0
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## 0.0.1

authors: Wazzabeee

### Chore
- Add pre commit hooks
- Update requirements for security reasons

### Fixes
- Fix README example
- Fix saving path with slashes


1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.0.1
Empty file added pyproject.toml
Empty file.
35 changes: 35 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
from setuptools import setup, find_packages

with open("VERSION") as version_file:
version = version_file.read().strip()

setup(
name="plagiarism_checker",
version=version,
packages=find_packages(),
install_requires=[
"beautifulsoup4==4.10.0",
"nltk==3.6.6",
"odfpy==1.4.1",
"pdfplumber==0.5.28",
"slate3k==0.5.3",
"tabulate==0.8.9",
],
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="[email protected]",
description="Make plagiarism detection easier. This script 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/plagiarism_checker",
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
],
python_requires=">=3.10",
)

0 comments on commit f313ee7

Please sign in to comment.