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 1.3 KB

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
45
46
47
48
49
50
  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.github.io/super-gradients/welcome.html",
  27. keywords=["Deci", "AI", "Training", "Deep Learning", "Computer Vision", "PyTorch", "SOTA", "Recipes", "Pre Trained", "Models"],
  28. install_requires=get_requirements(),
  29. packages=find_packages(where='./src'),
  30. package_dir={'': 'src'},
  31. package_data={
  32. 'super_gradients.recipes': ['*.yaml', '**/*.yaml'],
  33. 'super_gradients.common': ['auto_logging/auto_logging_conf.json'],
  34. 'super_gradients.examples': ['*.ipynb', '**/*.ipynb'],
  35. 'super_gradients': ['requirements.txt'],
  36. },
  37. long_description=readme(),
  38. long_description_content_type="text/markdown"
  39. )
Tip!

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

Comments

Loading...