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

#434 add deci requirements to ensure compatibility

Merged
Ghost merged 1 commits into Deci-AI:master from deci-ai:hotfix/SG-000-add-deci-requirements-back-to-ensure-comptability
@@ -9,6 +9,7 @@ from setuptools import find_packages
 
 
 README_LOCATION = 'README.md'
 README_LOCATION = 'README.md'
 REQ_LOCATION = 'requirements.txt'
 REQ_LOCATION = 'requirements.txt'
+REQ_PRO_LOCATION = 'requirements.pro.txt'
 VERSION_FILE = "version.txt"
 VERSION_FILE = "version.txt"
 
 
 
 
@@ -23,6 +24,11 @@ def get_requirements():
         return f.read().splitlines()
         return f.read().splitlines()
 
 
 
 
+def get_pro_requirements():
+    with open(REQ_PRO_LOCATION, encoding="utf-8") as f:
+        return f.read().splitlines()
+
+
 def get_version():
 def get_version():
     with open(VERSION_FILE, encoding="utf-8") as f:
     with open(VERSION_FILE, encoding="utf-8") as f:
         return f.readline()
         return f.readline()
@@ -43,8 +49,9 @@ setup(
         'super_gradients.recipes': ['*.yaml', '**/*.yaml'],
         'super_gradients.recipes': ['*.yaml', '**/*.yaml'],
         'super_gradients.common': ['auto_logging/auto_logging_conf.json'],
         'super_gradients.common': ['auto_logging/auto_logging_conf.json'],
         'super_gradients.examples': ['*.ipynb', '**/*.ipynb'],
         'super_gradients.examples': ['*.ipynb', '**/*.ipynb'],
-        'super_gradients': ['requirements.txt'],
+        'super_gradients': ['requirements.txt', 'requirements.pro.txt'],
     },
     },
     long_description=readme(),
     long_description=readme(),
-    long_description_content_type="text/markdown"
+    long_description_content_type="text/markdown",
+    extras_require={"pro": get_pro_requirements()}
 )
 )
Discard
Tip!

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