django lite for GAE

保存 build.xml 至 django svn trunk 目录,运行 ant,则可生成适合GAE的lite版django, 814k on v13428。

<?xml version="1.0" encoding="UTF-8"?>
<!-- ====================================================================== 
     2010-7-12 下午08:11:49                                                        

     project    
     description
                   
     GL                                                                
     ====================================================================== -->
<project name="project" default="lite">
    <description>
            description
    </description>

    <!-- ================================= 
          target: lite              
         ================================= -->
    <target name="lite" description="--> description">
        <delete dir="django-lite"></delete>
    	<copy todir="django-lite/django">
        	<fileset dir="django">
        		<exclude name="**/.svn"/>
        		<exclude name="**/*.pyc"/>
        		<exclude name="conf/locale/"/>
        		<exclude name="conf/app_template/"/>
        		<exclude name="conf/project_template/"/>
        		<exclude name="contrib/gis/"/>
        		<exclude name="contrib/admin/"/>
        		<exclude name="contrib/admindocs/"/>
        	</fileset>
    	</copy>
    	<zip destfile="django-lite.zip" basedir="django-lite">
    		
    	</zip>
    </target>


</project>

你可能感兴趣的:(xml,django,SVN,ant,GAE)