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 675 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
  1. from setuptools import setup,find_packages
  2. from typing import List
  3. Hypen_dot_e='-e .'
  4. def get_requirements(filepath:str)->[List]:
  5. requirements=[]
  6. with open(filepath) as f:
  7. requirements=f.readlines()
  8. requirements=[req.replace('/n','') for req in requirements]
  9. if Hypen_dot_e in requirements:
  10. requirements.remove(Hypen_dot_e)
  11. return requirements
  12. setup(
  13. name='Gemstone',
  14. version='0.0.1',
  15. author='arpanchakraborty',
  16. author_email='arpanchakraborty@gmail.com',
  17. url='github.com/arpanchakraborty23/gemstone.git',
  18. packages=find_packages(),
  19. install_requries=get_requirements('requirements.txt')
  20. )
Tip!

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

Comments

Loading...