Fixed setup.py

This commit is contained in:
ZAKS Web 2025-02-28 00:08:15 +02:00
parent 3cfab802c5
commit fa8bbc43a7
1 changed files with 3 additions and 3 deletions

View File

@ -7,11 +7,11 @@ setup(
description="A tool to calculate ink coverage in images.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://git.zaks.web.za/thisiszeev/ink-calc", # Replace with your repo URL
url="https://git.zaks.web.za/thisiszeev/ink-calc",
license="GPL-3.0-or-later",
packages=find_packages(where="src"),
package_dir={"": "src"},
py_modules=["ink_calc"], # Ensure the main script is discoverable
py_modules=["ink_calc"],
install_requires=[
"numpy",
"Pillow",
@ -20,7 +20,7 @@ setup(
python_requires=">=3.11",
entry_points={
"console_scripts": [
"ink-calc=ink_calc:main", # Ensure `ink-calc.py` has a `main()` function
"ink-calc=ink_calc:main",
],
},
classifiers=[