File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4646 " from fastcore.basics import patch_to\n " ,
4747 " import re\n " ,
4848 " import urllib\n " ,
49- " from pkg_resources import resource_filename \n " ,
49+ " from nbstata._resources import resource_path \n " ,
5050 " from bs4 import BeautifulSoup as bs\n " ,
5151 " import configparser"
5252 ]
161161 " \n " ,
162162 " abbrev_dict = _construct_abbrev_dict()\n " ,
163163 " \n " ,
164- " csshelp_default = resource_filename (\n " ,
164+ " csshelp_default = resource_path (\n " ,
165165 " 'nbstata', 'css/_StataKernelHelpDefault.css'\n " ,
166166 " )\n " ,
167167 " \n " ,
Original file line number Diff line number Diff line change 1414from fastcore .basics import patch_to
1515import re
1616import urllib
17- from pkg_resources import resource_filename
17+ from . _resources import resource_path
1818from bs4 import BeautifulSoup as bs
1919import configparser
2020
@@ -71,7 +71,7 @@ class StataMagics():
7171
7272 abbrev_dict = _construct_abbrev_dict ()
7373
74- csshelp_default = resource_filename (
74+ csshelp_default = resource_path (
7575 'nbstata' , 'css/_StataKernelHelpDefault.css'
7676 )
7777
You can’t perform that action at this time.
0 commit comments