-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (20 loc) · 696 Bytes
/
setup.py
File metadata and controls
27 lines (20 loc) · 696 Bytes
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
# setup.py -> used to configure and install the Python package
# It also installs all required dependencies
# Import required functions from setuptools
from setuptools import setup, find_packages
# Open requirements.txt file and read dependencies
with open("requirements.txt") as f:
requirements = f.read().splitlines()
# Call the setup function to configure the package
setup(
# Name of the Python package
name="MLOPS-PROJECT-3",
# Version of the package
version="0.1",
# Author name
author="Sahu",
# Automatically find all packages (folders with __init__.py)
packages=find_packages(),
# Dependencies to install
install_requires=requirements,
)