Closed punkeel closed 11 years ago
This won't quite work properly as more modules than launcher look for the config file.
In the 'setuptools' branch head, the config directory is located by a function in the 'mk2.shared' module. I think this would be a better place for changing the config location.
I don't understand how to "change" config path, and what code is used, (and when), to locate it. Is setuptools branch here for pip install's ?
that's the aim, yes, but it's going to be merged into master soon. Look at https://github.com/mcdevs/mark2/blob/setuptools/mk2/shared.py#L17. my inclination would be to add a launcher option to override this path.
btw, we're in #mark2 on freenode if you want to ask about anything you don't understand about the code. we can probably help you there.
Allow to specify a config file on run. Only available from python environment, (don't wan't to mess your options code :( )