MCPcopy Create free account
hub / github.com/python-visualization/folium / walk_subpkg

Function walk_subpkg

setup.py:12–20  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

10
11
12def walk_subpkg(name):
13 data_files = []
14 package_dir = "folium"
15 for parent, dirs, files in os.walk(os.path.join(package_dir, name)):
16 # Remove package_dir from the path.
17 sub_dir = os.sep.join(parent.split(os.sep)[1:])
18 for f in files:
19 data_files.append(os.path.join(sub_dir, f))
20 return data_files
21
22
23package_data = {

Callers 1

setup.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…