mitsuhiko  committed 09842a6

last changes for release, removed docs from distribution because distutils lets me down.

  • Participants
  • Parent commits 43dfed1
  • Branches default

Comments (0)

Files changed (3)

 Version 0.5
-(codename yet to be selected, release date unknown)
+(codename Schlagbohrer, released on April 24th 2009)
 - requires Python 2.4 now
 - fixed a bug in :class:`~contrib.IterIO`

File docs/Makefile

 SPHINXBUILD   = sphinx-build
 PAPER         =
+PYTHON        = python
 # Internal variables.
 PAPEROPT_a4     = -D latex_paper_size=a4
 PAPEROPT_letter = -D latex_paper_size=letter
 ALLSPHINXOPTS   = -d _build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
-.PHONY: help clean html pickle json htmlhelp qthelp latex changes linkcheck
+.PHONY: help clean html pickle json htmlhelp qthelp latex changes linkcheck archive
 	@echo "Please use \`make <target>' where <target> is one of"
 	@echo "  latex     to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
 	@echo "  changes   to make an overview over all changed/added/deprecated items"
 	@echo "  linkcheck to check all external links for integrity"
+	@echo "  archive   create an archive of the HTML documentation"
 	-rm -rf _build/*
 	@echo "Link check complete; look for any errors in the above output " \
 	      "or in _build/linkcheck/output.txt."
+archive: html
+	@$(PYTHON)
     from distutils.core import setup
-data_files = []
-documentation_path = 'docs/build'
-if os.path.exists(documentation_path):
-    documentation_files = []
-    for fn in os.listdir(documentation_path):
-        if not fn.startswith('.'):
-            fn = os.path.join(documentation_path, fn)
-            if os.path.isfile(fn):
-                documentation_files.append(fn)
-    data_files.append(('docs', documentation_files))
         'Topic :: Software Development :: Libraries :: Python Modules'
     packages=['werkzeug', 'werkzeug.debug', 'werkzeug.contrib'],
-    data_files=data_files,
         'werkzeug.debug': ['shared/*', 'templates/*']