preparing for pypi release
This commit is contained in:
@@ -64,6 +64,12 @@ def get_asset(module, filepath):
|
||||
filepath: the relative filepath of the file to look for in the
|
||||
package directory.
|
||||
"""
|
||||
# NOTE(MG) setuptools suggests using pkg_resources ResourceManager API
|
||||
# to perform this.
|
||||
# import pkg_resources
|
||||
# my_data = pkg_resources.resource_string(__name__, "foo.dat")
|
||||
# https://setuptools.readthedocs.io/en/latest/pkg_resources.html#resourcemanager-api
|
||||
|
||||
if isinstance(module, str):
|
||||
module_file = sys.modules[module].__file__
|
||||
elif isinstance(module, module):
|
||||
|
||||
@@ -66,8 +66,7 @@ class CommandTree:
|
||||
self._single_command = None
|
||||
|
||||
def print_tree(self):
|
||||
import pprint
|
||||
pprint.pprint(self.entries)
|
||||
raise NotImplemented
|
||||
|
||||
def add_argument(self, *args, **kwargs):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user