How to use APScheduler without installing it? -
i know normal way use apscheduler "python setup.py install". want embed program directly, user don't need install when using program.
class basescheduler(six.with_metaclass(abcmeta)): _trigger_plugins = dict((ep.name, ep) ep in iter_entry_points('apscheduler.triggers')) # print(_trigger_plugins, 'ddd') _trigger_classes = {} _executor_plugins = dict((ep.name, ep) ep in iter_entry_points('apscheduler.executors')) _executor_classes = {} _jobstore_plugins = dict((ep.name, ep) ep in iter_entry_points('apscheduler.jobstores')) _jobstore_classes = {} _stopped = true
thks.
you can instantiate triggers directly, without going through aliases. eliminates need install apscheduler or setuptools. answer question?
Comments
Post a Comment