Saketh12345's picture
Refactor project structure and improve code organization
32f1545
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open("requirements.txt", "r", encoding="utf-8") as fh:
requirements = [line.strip() for line in fh if line.strip() and not line.startswith('#')]
setup(
name="diabetes-prediction",
version="0.1.0",
author="Your Name",
author_email="your.email@example.com",
description="A Streamlit web application for diabetes prediction",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yourusername/diabetes-prediction",
packages=find_packages(where="src"),
package_dir={"": "src"},
install_requires=requirements,
python_requires=">=3.8",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points={
"console_scripts": [
"diabetes-prediction=diabetes_prediction.app:main",
],
},
)