Fixed setup.py
This commit is contained in:
parent
3cfab802c5
commit
fa8bbc43a7
6
setup.py
6
setup.py
|
@ -7,11 +7,11 @@ setup(
|
||||||
description="A tool to calculate ink coverage in images.",
|
description="A tool to calculate ink coverage in images.",
|
||||||
long_description=open("README.md").read(),
|
long_description=open("README.md").read(),
|
||||||
long_description_content_type="text/markdown",
|
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",
|
license="GPL-3.0-or-later",
|
||||||
packages=find_packages(where="src"),
|
packages=find_packages(where="src"),
|
||||||
package_dir={"": "src"},
|
package_dir={"": "src"},
|
||||||
py_modules=["ink_calc"], # Ensure the main script is discoverable
|
py_modules=["ink_calc"],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"numpy",
|
"numpy",
|
||||||
"Pillow",
|
"Pillow",
|
||||||
|
@ -20,7 +20,7 @@ setup(
|
||||||
python_requires=">=3.11",
|
python_requires=">=3.11",
|
||||||
entry_points={
|
entry_points={
|
||||||
"console_scripts": [
|
"console_scripts": [
|
||||||
"ink-calc=ink_calc:main", # Ensure `ink-calc.py` has a `main()` function
|
"ink-calc=ink_calc:main",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
|
Loading…
Reference in New Issue