File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1010from packaging .requirements import Requirement
1111from packaging .version import Version
1212
13- from mlblocks .discovery import add_primitives_path , add_pipelines_path
13+ from mlblocks .discovery import add_primitives_path , add_pipelines_path , get_primitives_paths
1414
1515def _get_minimum_versions (dependencies , python_version ):
1616 min_versions = {}
@@ -71,7 +71,7 @@ def minimum(c):
7171
7272
7373def add_paths ():
74- base_path = os .path .join (os .getcwd (), 'sigllm' )
74+ base_path = Path ( os .path .join (os .getcwd (), 'sigllm' ) )
7575 primitives_path = os .path .join (base_path , 'primitives' , 'jsons' )
7676 pipeline_paths = [
7777 os .path .join (base_path , 'pipelines' , 'detector' ),
@@ -85,6 +85,7 @@ def add_paths():
8585@task
8686def readme (c ):
8787 add_paths ()
88+ print (get_primitives_paths ())
8889 test_path = Path ('tests/readme_test' )
8990 if test_path .exists () and test_path .is_dir ():
9091 shutil .rmtree (test_path )
You can’t perform that action at this time.
0 commit comments