[kforge-dev] Changeset : Update KForge to use setuptools based setup.py. ...
admin at okfn.org
Wed Apr 25 20:28:15 UTC 2007
Update KForge to use setuptools based setup.py.
This involved quite a bit of work because setuptools does not like installing data_files. Thus, now need to install KForge data manually after setup.py (and also need to ensure all required data is available in the egg).
> Change to setuptools.
> No longer needed.
* trunk/src/kforge/cli/data.py (A),
> trunk/src/kforge/cli/datatest.py (A), trunk/src/kforge/cli/admin.py: kforge-admin data create functionality.
* cli/data.py extracts data using pkg_resources methods and installs to a user-defined (or default) location.
> Need to create a new script which creates a config template (must be separate from kforge-admin since kforge-admin requires a config file to run). * trunk/INSTALL: Update installation instructions to use kforge-makeconfig and data create.
* trunk/etc (D),
> trunk/src/kforge/etc, trunk/src/kforge/etc/kforge.conf.new: Move etc directory inside kforge package.
> Update MANIFEST.in with new data locations and correct some over-expansive includes.
* trunk/www (D),
> trunk/src/kforge/htdocs, trunk/src/kforge/htdocs/project: Move www folder inside kforge package and rename to htdocs.
More information about the kforge-dev