File size: 1,198 Bytes
d576da9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# setup.py

import setuptools

# Read the contents of your README file for the long description
with open("README.md", "r", encoding="utf-8") as f:
    long_description = f.read()

__version__ = "0.0.0"

REPO_NAME = "End-to-End-Chest-Cancer-Classification-using-MLflow-and-DVC"
AUTHOR_USER_NAME = "AlyyanAhmed21" # Change to your GitHub username
SRC_REPO = "cnnClassifier" # This is the name of your main source folder under src/
AUTHOR_EMAIL = "alyyanawan19@gmail.com" # Change to your email

setuptools.setup(
    name=SRC_REPO,
    version=__version__,
    author=AUTHOR_USER_NAME,
    author_email=AUTHOR_EMAIL,
    description="A small python package for CNN app",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url=f"https://github.com/{AUTHOR_USER_NAME}/{REPO_NAME}",
    project_urls={
        "Bug Tracker": f"https://github.com/{AUTHOR_USER_NAME}/{REPO_NAME}/issues",
    },
    # This is the crucial part!
    # It tells setuptools to look for packages in the 'src' directory.
    package_dir={"": "src"},
    # This finds all packages automatically within the directory specified above.
    packages=setuptools.find_packages(where="src")
)