Trimming 4Suite (for users building from source)
4Suite has many modules, and not everyone needs all of it. Here is some information on how to eliminate unwanted modules.
The 4Suite installer code is smart enough to proceed even if one of the modules are missing. This means that those who only want to use XPath and XSLT can remove the 4RDF and repository-related module source code before running setup.py. For example, on Unix, you can issue the following commands from the top-level '4Suite' source directory:
rm -rf Ft/Rdf rm -rf Ft/Server
When you've removed the unwanted module directories, install as usual:
python setup.py install
Some key dependencies to note:
- Ft/Lib is required by all of 4Suite. Do not remove it.
- Ft/Xml is required by Ft/Rdf.
- Ft/Xml/XPath is required by Ft/Xml/Xslt.
- Ft/Ods is not required by anything, and is normally not installed at all.
- All Ft modules except for Ft/Ods are required for the repository, Ft/Server.
The following directories are safe to delete:
- demos - this is just sample code snippets.
- test - the regression test suites.
- profile - sample scripts and data for profiling performance.
