-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
25 lines (21 loc) · 724 Bytes
/
Copy pathsetup.py
File metadata and controls
25 lines (21 loc) · 724 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
from setuptools import find_packages, setup
from typing import List
def get_requirements()->List[str]:
"""
This function will return list of requirements
"""
requirement_list:List[str]=[]
with open ("requirements.txt") as requirement_file:
requirement_list=requirement_file.readlines()
requirement_list=[req_list.replace('\n', '') for req_list in requirement_list]
if "-e ." in requirement_list:
requirement_list.remove("-e .")
return requirement_list
setup(
name="compressive_strength",
version="0.0.1",
author="Mahesh Kumar",
author_email="maheshmkvb92@gmail.com",
packages=find_packages(),
install_requires=get_requirements(),
)