Changes between Version 2 and Version 3 of ProposedPythonMapScriptDistribution


Ignore:
Timestamp:
Jun 24, 2009, 12:57:42 PM (15 years ago)
Author:
kiorky
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ProposedPythonMapScriptDistribution

    v2 v3  
    1515Overview
    1616--------
     17Nowodays, most of the python deployment tools (minitage, buildout, pip, easy_install) rely on setuptools API and workflows to deploy python stuff.
     18The idea is to make MapScript follow the egg dance.
    1719
    1820Inventory of existing mechanisms
    1921--------------------------------
     22Today, 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.
     23We have mapserver-config (only unix as far as i know) which we can query for flags and information from the targeted mapserver installation.
    2024
    2125Questions
     
    2529Technical Solution
    2630------------------
     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
    2739
    2840