source: trunk/mkdocs

Last change on this file was 758, checked in by cito, 3 years ago

Build source distribution with setup script

Instead of building the source distribution (the tarball) manually
in mktar, we now let setup.py do the work for us.

This has the advantage that we can be sure that the created tarball
conforms to the standards (e.g. contains the egg-info bits), and we
don't need to maintain the list of source files in two places any
more - we only need to maintain the MANIFEST.in file now.

Note that setup.py creates a tar.gz file instead of .tgz as before.
We should also distribute it like that because it's the standard on
PyPI etc. I have also changed the download docs to reflect this.

  • Property svn:executable set to *
File size: 234 bytes
Line 
1#! /bin/sh
2
3MAKE=make
4which gmake && MAKE=gmake
5
6# small safety test
7if [ ! -f pgmodule.c ]
8then
9        echo "Hmmm.  Are you sure you are in the right directory?"
10        exit 1
11fi
12
13echo "Making Sphinx docs..."
14
15cd docs
16${MAKE} clean
17${MAKE} html
Note: See TracBrowser for help on using the repository browser.