Changes between Version 2 and Version 3 of ProposedPythonMapScriptDistribution
- Timestamp:
- Jun 24, 2009, 12:57:42 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProposedPythonMapScriptDistribution
v2 v3 15 15 Overview 16 16 -------- 17 Nowodays, most of the python deployment tools (minitage, buildout, pip, easy_install) rely on setuptools API and workflows to deploy python stuff. 18 The idea is to make MapScript follow the egg dance. 17 19 18 20 Inventory of existing mechanisms 19 21 -------------------------------- 22 Today, what we have is a way to build a classical distutils's made distribution. The setup.py has some complicated code inside, i think it can be simplified or delegated in someway. 23 We have mapserver-config (only unix as far as i know) which we can query for flags and information from the targeted mapserver installation. 20 24 21 25 Questions … … 25 29 Technical Solution 26 30 ------------------ 31 * Make the thing independant and indexed on the python cheesechop. 32 33 * Thus by throwing away the distutils imports and use setuptools to package our egg 34 * Then we can get all compilation and linking infos from the 'mapserver-config' script. 35 36 37 * A quick and dirty draft has been done for the 5.0.2 release and is available for checkout there : http://git.minitage.org/git/others/mapscript/ 38 27 39 28 40