Skip to content

Commit

Permalink
remove pkg_resources
Browse files Browse the repository at this point in the history
  • Loading branch information
xjjiang committed Jan 18, 2025
1 parent 80d5027 commit 4df3f48
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions aviary/docs/examples/intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@
"source": [
"# Testing Cell\n",
"from aviary.utils.functions import get_path\n",
"from pathlib import Path\n",
"import pkg_resources\n",
"from aviary.utils.doctape import glue_variable\n",
"\n",
"aviary_base_path = Path(pkg_resources.resource_filename('aviary', '.')).parent\n",
"path=get_path('examples/external_subsystems').relative_to(aviary_base_path)\n",
"aviary_top_dir = get_path('docs').parent.parent\n",
"path=get_path('examples/external_subsystems').relative_to(aviary_top_dir)\n",
"glue_variable(str(path),md_code=True)"
]
},
Expand Down

0 comments on commit 4df3f48

Please sign in to comment.