"""
setup.py

This file defines setup functions for the mewlo setuptools-based test plugin, which is used to test one way of autodiscovering plugins for mewlo.
Setuptools is an optional python library which provides functionality for writing and discovering plugins, among other things.

See setuptoolshelpers.py for more information
"""

# python modules
import os

# mewlo helpers
from mewlo.externaltools.setuptoolhelpers import shelp_invoke_setuptools_setup
from mewlo.mpacks.core.helpers.misc import calc_modulefiledirpath

# the source path, typically the directory of this script
sourcepath = misc.calc_modulefiledirpath(__file__)






# The two variable assignments below should be the only thing you need to change if you want to use this setup.py for another plugin/pack

# setuptools wants some author and other information; this information will be read from our standard mewlo json file so we don't have to duplicate it; relative to sourcepath above
infofilepath_relative = 'mewlosetuptoolsplugintest/mewlotestplug_mpack.json'

# setuptools entry_point_packs (see shelp_invoke_setuptools_setup) tells setuptools how to find us
entry_point_packs = [ 'moduleforpath = mewlosetuptoolsplugintest.mewlotestplugin_mpack' ]

# alternative ways to specify setuptools entry points, which might be useful if one setuptools setup covers many plugins with their own json files
# these depend on a small module called setuptools_discoveryhelper
#entry_point_packs = [ 'infofiledirs = mewlosetuptoolsplugintest.setuptools_discoveryhelper:get_infofiledirs' ]
#entry_point_packs = [ 'infofiles = mewlosetuptoolsplugintest.setuptools_discoveryhelper:get_infofiles' ]




# call the setup tools setup function using data in the json file
shelp_invoke_setuptools_setup(sourcepath, infofilepath_relative, entry_point_packs)



























962310730fee220a0b3f298b6a23727b3e8ec2c7
<mask token>

<mask token>
shelp_invoke_setuptools_setup(sourcepath, infofilepath_relative,
    entry_point_packs)

<mask token>
sourcepath = misc.calc_modulefiledirpath(__file__)
infofilepath_relative = 'mewlosetuptoolsplugintest/mewlotestplug_mpack.json'
entry_point_packs = [
    'moduleforpath = mewlosetuptoolsplugintest.mewlotestplugin_mpack']
shelp_invoke_setuptools_setup(sourcepath, infofilepath_relative,
    entry_point_packs)

<mask token>
import os
from mewlo.externaltools.setuptoolhelpers import shelp_invoke_setuptools_setup
from mewlo.mpacks.core.helpers.misc import calc_modulefiledirpath
sourcepath = misc.calc_modulefiledirpath(__file__)
infofilepath_relative = 'mewlosetuptoolsplugintest/mewlotestplug_mpack.json'
entry_point_packs = [
    'moduleforpath = mewlosetuptoolsplugintest.mewlotestplugin_mpack']
shelp_invoke_setuptools_setup(sourcepath, infofilepath_relative,
    entry_point_packs)

"""
setup.py

This file defines setup functions for the mewlo setuptools-based test plugin, which is used to test one way of autodiscovering plugins for mewlo.
Setuptools is an optional python library which provides functionality for writing and discovering plugins, among other things.

See setuptoolshelpers.py for more information
"""

# python modules
import os

# mewlo helpers
from mewlo.externaltools.setuptoolhelpers import shelp_invoke_setuptools_setup
from mewlo.mpacks.core.helpers.misc import calc_modulefiledirpath

# the source path, typically the directory of this script
sourcepath = misc.calc_modulefiledirpath(__file__)






# The two variable assignments below should be the only thing you need to change if you want to use this setup.py for another plugin/pack

# setuptools wants some author and other information; this information will be read from our standard mewlo json file so we don't have to duplicate it; relative to sourcepath above
infofilepath_relative = 'mewlosetuptoolsplugintest/mewlotestplug_mpack.json'

# setuptools entry_point_packs (see shelp_invoke_setuptools_setup) tells setuptools how to find us
entry_point_packs = [ 'moduleforpath = mewlosetuptoolsplugintest.mewlotestplugin_mpack' ]

# alternative ways to specify setuptools entry points, which might be useful if one setuptools setup covers many plugins with their own json files
# these depend on a small module called setuptools_discoveryhelper
#entry_point_packs = [ 'infofiledirs = mewlosetuptoolsplugintest.setuptools_discoveryhelper:get_infofiledirs' ]
#entry_point_packs = [ 'infofiles = mewlosetuptoolsplugintest.setuptools_discoveryhelper:get_infofiles' ]




# call the setup tools setup function using data in the json file
shelp_invoke_setuptools_setup(sourcepath, infofilepath_relative, entry_point_packs)


























