Closed jayvdb closed 4 years ago
With hindsight, it should not depend on lml
Also I see Warning: 'requires' is deprecated since 0.6.0! Please use pypi:// or git:// notation instead
, but I think I am using the latest yehua and moban and pypi-moban-pkg.
Something somewhere must be using old syntax...?
Yes, moban file needs updating
the following legacy code exists in the library. That's why lml was listed. With pypifs, lml related code shall exist the stage.
# flake8: noqa
import os
from pypi_mobans_pkg._version import __version__
from pypi_mobans_pkg._version import __author__
from lml.plugin import PluginInfo
@PluginInfo('library', tags=['setupmobans', 'pypi', 'pypi-mobans-pkg'])
class Pypkg():
def __init__(self):
__package_path__ = os.path.dirname(__file__)
self.resources_path = os.path.join(
__package_path__, "resources")
the only plus point is: pypi-mobans-pkg will support older version of moban < 0.6.0.
above code has been removed in pypi-moban-pkg 0.0.13, so such legacy use is gone forever.
The yehua output contains:
IMO that is unnecessary except in a verbose mode, which shouldnt be default.
Also I dont see how it is beneficial for a moban template pkg to include
lml
, as moban already depends on it, so it should already exist..?