santosh3110/Ecoclassify-Wildlife_Classifier
0
1import setuptools2 3with open("README.md", "r", encoding="utf-8") as f:4 long_description = f.read()5 6def load_requirements(filename="requirements.txt"):7 with open(filename, "r") as f:8 return [9 line.strip()10 for line in f11 if line.strip() and not line.startswith("#") and not line.startswith("-")12 ]13 14requirements = load_requirements()15 16__version__ = "0.0.1"17 18REPO_NAME = "EcoClassify---Wildlife-Image-Classifier"19AUTHOR_USER_NAME = "santosh3110"20SRC_REPO = "ecoclassify"21AUTHOR_EMAIL = "santoshkumarguntupalli@gmail.com"22 23setuptools.setup(24 name=SRC_REPO,25 version=__version__,26 author=AUTHOR_USER_NAME,27 author_email=AUTHOR_EMAIL,28 description="A modular wildlife image classifier using CNN and transfer learning (ResNet)",29 long_description=long_description,30 long_description_content="text/markdown",31 url=f"https://github.com/{AUTHOR_USER_NAME}/{REPO_NAME}",32 project_urls={33 "Bug Tracker": f"https://github.com/{AUTHOR_USER_NAME}/{REPO_NAME}/issues",34 },35 package_dir={"": "src"},36 packages=setuptools.find_packages(where="src"),37 include_package_data=True,38 install_requires=requirements,39 classifiers=[40 "Programming Language :: Python :: 3",41 "Operating System :: OS Independent",42 ],43 python_requires=">=3.8",44)45 