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 949 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
  1. # coding: utf-8
  2. """
  3. Deci Training Toolkit
  4. """
  5. from setuptools import setup
  6. from setuptools import find_packages
  7. README_LOCATION = 'README.md'
  8. REQ_LOCATION = 'requirements.txt'
  9. VERSION_FILE = "version.txt"
  10. def readme():
  11. """print long description"""
  12. with open(README_LOCATION) as f:
  13. return f.read()
  14. def get_requirements():
  15. with open(REQ_LOCATION) as f:
  16. return f.read().splitlines()
  17. def get_version():
  18. with open(VERSION_FILE) as f:
  19. return f.readline()
  20. setup(
  21. name='super-gradients',
  22. version=get_version(),
  23. description="SuperGradients",
  24. author="Deci AI",
  25. author_email="rnd@deci.ai",
  26. url="https://deci.ai",
  27. keywords=["Deci", "AI", "Training"],
  28. install_requires=get_requirements(),
  29. include_package_data=True,
  30. packages=find_packages(),
  31. data_files=[('config', ['super_gradients/common/auto_logging/auto_logging_conf.json'])],
  32. long_description=readme()
  33. )
Tip!

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

Comments

Loading...