diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..b405534 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +numpy +Pillow +tk diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..04ee35e --- /dev/null +++ b/setup.py @@ -0,0 +1,32 @@ +from setuptools import setup, find_packages + +setup( + name="ink-coverage-calculator", + version="0.1", + author="Ze'ev Schurmann", + 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 + license="GPL-3.0-or-later", + packages=find_packages(where="src"), + package_dir={"": "src"}, + py_modules=["ink_calc"], # Ensure the main script is discoverable + install_requires=[ + "numpy", + "Pillow", + "tk" + ], + python_requires=">=3.11", + entry_points={ + "console_scripts": [ + "ink-calc=ink_calc:main", # Ensure `ink-calc.py` has a `main()` function + ], + }, + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", + "Operating System :: OS Independent", + "Topic :: Multimedia :: Graphics", + ], +)