Skip to content

Commit eca83ad

Browse files
committed
moved run_pickled into a separate scripts dir
1 parent 4164e93 commit eca83ad

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

pydra/scripts/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Although the Python files in this directory are meant to be run separately,
2+
# we add a __init__.py file to make it a package that can easily be discovered
3+
# within the installation directory
File renamed without changes.

pydra/utils/general.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import builtins
1616
import pkgutil
1717
import logging
18+
import pydra.scripts
1819
from ._version import __version__
1920

2021

@@ -24,6 +25,8 @@
2425
from pydra.compose import workflow
2526

2627

28+
SCRIPTS_DIR = Path(pydra.scripts.__file__).parent
29+
2730
PYDRA_ATTR_METADATA = "__PYDRA_METADATA__"
2831

2932
TaskType = ty.TypeVar("TaskType", bound="Task")

0 commit comments

Comments
 (0)