Added requirements.txt and setup.py
This commit is contained in:
parent
dc49768def
commit
3cfab802c5
|
@ -0,0 +1,3 @@
|
|||
numpy
|
||||
Pillow
|
||||
tk
|
|
@ -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",
|
||||
],
|
||||
)
|
Loading…
Reference in New Issue