properly install things in the right places

python setup.py install --prefix /usr/local/ \
	--install-lib /usr/local/lib/expression/modules \
	--install-data /usr/local/share/
This commit is contained in:
fpeters 2004-06-15 07:39:16 +00:00
parent 825a5c40db
commit 7d7f350fdb
2 changed files with 17 additions and 15 deletions

View File

@ -9,15 +9,17 @@
# Note: The XHTML 1.0 catalogs should really be defined in another package, for
# example xml-core.
PREFIX=/usr/local
# Add XHTML entities to package catalog (/etc/xml/expression.xml).
update-xmlcatalog --add --package expression --type public --id "-//W3C//ENTITIES Latin 1 for XHTML" --local /usr/local/share/xml/entities/expression/catalog.xml
update-xmlcatalog --add --package expression --type public --id "-//W3C//ENTITIES Special for XHTML" --local /usr/local/share/xml/entities/expression/catalog.xml
update-xmlcatalog --add --package expression --type public --id "-//W3C//ENTITIES Symbols for XHTML" --local /usr/local/share/xml/entities/expression/catalog.xml
update-xmlcatalog --add --package expression --type system --id "http://www.w3.org/TR/xhtml1/DTD/xhtml-" --local /usr/local/share/xml/entities/expression/catalog.xml
update-xmlcatalog --add --package expression --type public --id "-//W3C//ENTITIES Latin 1 for XHTML" --local $PREFIX/share/xml/entities/expression/catalog.xml
update-xmlcatalog --add --package expression --type public --id "-//W3C//ENTITIES Special for XHTML" --local $PREFIX/share/xml/entities/expression/catalog.xml
update-xmlcatalog --add --package expression --type public --id "-//W3C//ENTITIES Symbols for XHTML" --local $PREFIX/share/xml/entities/expression/catalog.xml
update-xmlcatalog --add --package expression --type system --id "http://www.w3.org/TR/xhtml1/DTD/xhtml-" --local $PREFIX/share/xml/entities/expression/catalog.xml
# Add XHTML 1.0 DTDs to package catalog (/etc/xml/expression.xml).
update-xmlcatalog --add --package expression --type public --id "-//W3C//DTD XHTML 1.0 " --local /usr/local/share/xml/schema/expression/catalog.xml
update-xmlcatalog --add --package expression --type system --id "http://www.w3.org/TR/xhtml1/DTD/xhtml1-" --local /usr/local/share/xml/schema/expression/catalog.xml
update-xmlcatalog --add --package expression --type public --id "-//W3C//DTD XHTML 1.0 " --local $PREFIX/share/xml/schema/expression/catalog.xml
update-xmlcatalog --add --package expression --type system --id "http://www.w3.org/TR/xhtml1/DTD/xhtml1-" --local $PREFIX/share/xml/schema/expression/catalog.xml
# Add XHTML package catalog to root XML catalog (/etc/xml/catalog).
# First: XHTML entities.
@ -30,10 +32,10 @@ update-xmlcatalog --add --root --package expression --type public --id "-//W3C//
update-xmlcatalog --add --root --package expression --type system --id "http://www.w3.org/TR/xhtml1/DTD/xhtml1-"
# Add Expression XML descriptions to package catalog (/etc/xml/expression.xml).
update-xmlcatalog --add --package expression --type system --id "http://www.entrouvert.org/expression/descriptions/" --local /usr/local/share/xml/misc/expression/catalog.xml
update-xmlcatalog --add --package expression --type system --id "http://www.entrouvert.org/expression/descriptions/" --local $PREFIX/share/xml/misc/expression/catalog.xml
# Add Expression XML schemas to package catalog (/etc/xml/expression.xml).
update-xmlcatalog --add --package expression --type system --id "http://www.entrouvert.org/expression/schemas/" --local /usr/local/share/xml/schema/expression/catalog.xml
update-xmlcatalog --add --package expression --type system --id "http://www.entrouvert.org/expression/schemas/" --local $PREFIX/share/xml/schema/expression/catalog.xml
# Add Expression package catalog to root XML catalog (/etc/xml/catalog).
update-xmlcatalog --add --root --package expression --type system --id "http://www.entrouvert.org/expression/"

View File

@ -93,11 +93,11 @@ setup(name = "Expression",
#('/etc/expression', ['config.xml']),
#('/etc/init.d', ['initscripts/expression']),
]
+ data_file_tree("share/xml/entities/expression", "xml/entities")
+ data_file_tree("share/xml/schema/expression", "xml/schema")
+ data_file_tree("share/xml/misc/expression", "xml/misc")
+ data_file_tree("share/expression/css", "vhosts/system/css")
+ data_file_tree("share/expression/images", "vhosts/system/images")
+ data_file_tree("share/expression/javascript", "vhosts/system/javascript")
+ data_file_tree("share/expression/xslt", "vhosts/system/xslt")
+ data_file_tree("xml/entities/expression", "xml/entities")
+ data_file_tree("xml/schema/expression", "xml/schema")
+ data_file_tree("xml/misc/expression", "xml/misc")
+ data_file_tree("expression/css", "vhosts/system/css")
+ data_file_tree("expression/images", "vhosts/system/images")
+ data_file_tree("expression/javascript", "vhosts/system/javascript")
+ data_file_tree("expression/xslt", "vhosts/system/xslt")
)