News-Classifier / setup.py
ManishW's picture
Upload folder using huggingface_hub
022acf4
raw
history blame contribute delete
568 Bytes
from typing import List
from setuptools import find_packages, setup
def get_requirements(file_path: str) -> List[str]:
"""Get the requirements/dependencies (packages) in a list."""
with open(file_path) as f:
lines = f.readlines()
requirements = [line.rstrip("\n") for line in lines]
return requirements
setup(
name="NewsClassifier",
version="1.0",
author="ManishW",
author_email="[email protected]",
description="",
packages=find_packages(),
install_requires=get_requirements("requirements.txt"),
)