Skip to content

Commit

Permalink
modified
Browse files Browse the repository at this point in the history
  • Loading branch information
SINGHxTUSHAR committed Dec 3, 2023
1 parent f21a141 commit 871571c
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
from setuptools import find_packages, setup
from setuptools import find_packages,setup
from typing import List

HYPEN_E_DOT='-e .'

def get_requirements(file_path:str)->List[str]:
requirements=[]
with open(file_path) as file_obj:
requirements=file_obj.readlines()
requirements=[req.replace("\n","") for req in requirements]

if HYPEN_E_DOT in requirements:
requirements.remove(HYPEN_E_DOT)

return requirements


setup(
name="src",
version="0.0.1",
author="Tushar Singh",
author_email="[email protected]",
packages=find_packages(),
install_requires=[],
name='Sensor-Fault-Detection',
version='0.0.1',
author='TUSHAR SINGH',
author_email='[email protected]',
install_requires=get_requirements('requirements.txt'),
packages=find_packages()

)

0 comments on commit 871571c

Please sign in to comment.