The setup.py scripts we are using for the MAP-Client plugins are outdated. These scripts are currently only being used to extract plugin dependencies, so each could be replaced with a requirements.txt file. Since we don't actually want to pip install the plugins, there is probably no point in updating the configuration scripts to pyproject.toml.
The following functions and their usage will need to be updated to handle requirements.txt instead of setup.py:
|
def installPackage(self, uri): |
|
def extractPluginDependencies(self, path): |
|
def _writeSetup(self, target_dir): |
The
setup.pyscripts we are using for the MAP-Client plugins are outdated. These scripts are currently only being used to extract plugin dependencies, so each could be replaced with arequirements.txtfile. Since we don't actually want topip installthe plugins, there is probably no point in updating the configuration scripts topyproject.toml.The following functions and their usage will need to be updated to handle
requirements.txtinstead ofsetup.py:mapclient/src/mapclient/core/managers/pluginmanager.py
Line 182 in b167e44
mapclient/src/mapclient/core/managers/pluginmanager.py
Line 197 in b167e44
mapclient/src/mapclient/tools/pluginwizard/skeleton.py
Line 80 in b167e44