Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

setup.py 663 B

You have to be logged in to leave a comment. Sign In
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
  1. from setuptools import find_packages, setup
  2. from typing import List
  3. HYPEN_E_DOT = '-e .'
  4. def get_requirements(file_path: str) -> List[str]:
  5. requirements = []
  6. with open(file_path) as file_obj:
  7. requirements = file_obj.readlines()
  8. requirements = [req.replace("\n", "") for req in requirements]
  9. if HYPEN_E_DOT in requirements:
  10. requirements.remove(HYPEN_E_DOT)
  11. return requirements
  12. setup(
  13. name="CreditCardDefaultsPrediction",
  14. version="0.0.1",
  15. author="Abhijit Paul",
  16. author_email="abhijitpaul0212@gmail.com",
  17. install_requires=get_requirements('requirements.txt'),
  18. packages=find_packages()
  19. )
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...