-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (26 loc) · 902 Bytes
/
setup.py
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
34
from setuptools import find_packages, setup
from typing import List
def get_requirements(file_name: str) -> List[str]:
"""This function will return a list of requirements.
Args:
file_name (str): Path of requirements.txt
Returns:
List[str]: List of required packages
"""
requiments = None
with open(file_name, "r") as file:
requiments = [
line.replace("\n", "")
for line in file.readlines()
if line.find("-e .") == -1
]
return requiments
setup(
name="CitiBike Demand Prediction",
version="0.4.5",
description="An End-to-End Machine Learning project where I predict demand of bikes at citibike stations at hourly level.",
author="Shakleen Ishfar",
author_email="shakleenishfar@gmail.com",
packages=find_packages(),
install_requires=get_requirements("requirements.txt"),
)