[Distutils] demo and setup.py

Alessandro Dentella sandro at e-den.it
Sat Dec 18 14:25:16 CET 2010


Hi,

i'm new to this list. I hope this question is pertinent to the list, if not
please address me to a more appropriate one.

I'd like to understand what is the preferred way to cope with demo
examples/directory while packaging.

I have a classic structure

  sqlkit-N.n/
            sqlkit/
	    setup.py
	    MANIFEST.in
	    demo/

My goal would be to have a setup so that 'python setup.py sdist' would
package also the demo, so that 'python setup.py sdist upload' could be all I
need to do to publish it. Is this a reasonable goal? I ask this as I
wouldn't know where to place the demo in the target installation. Under
Linux that I know pretty well a demo would be under
/usr/(local/)/share/doc... but where sould it be placed under Windows? Is
this simething that should be taken care of by setuptools?

Searching in the docs I never found the 'demo' word and google was not very
usefull too. 

Any hint is appreciated.


thanks a lot
sandro


-- 
Sandro Dentella  *:-)
http://www.reteisi.org             Soluzioni libere per le scuole
http://sqlkit.argolinux.org        SQLkit home page - PyGTK/python/sqlalchemy


More information about the Distutils-SIG mailing list