[sphinx-dev] Re: including docs with distribution...

2009-10-27 Thread Chris Withers
Thomas G. Willis wrote: > > Apologies for the noise that has really nothing to do with Sphinx. I'm > sure I will have more questions that are more relevant since I'm > stepping up my documentation efforts. It's a very relevant discussion that's currently taking place on the distutils-sig mai

[sphinx-dev] Re: including docs with distribution...

2009-10-20 Thread TJG
Chris Withers wrote: > Thomas G. Willis wrote: >> I guess what I would like to have is something like... >> >> c:\project\myegg-src>python setup.py bdist_egg >> >> to produce... >> >> ./myegg-0.0 >> /docs >> /myegg >> /tests >> >> But I'm not quite grokking how to get this to work. >

[sphinx-dev] Re: including docs with distribution...

2009-10-20 Thread Thomas G. Willis
On Tue, Oct 20, 2009 at 6:25 AM, Chris Withers wrote: > > Thomas G. Willis wrote: > > I guess what I would like to have is something like... > > > > c:\project\myegg-src>python setup.py bdist_egg > > > > to produce... > > > > ./myegg-0.0 > > /docs > > /myegg > > /tests > > > > But I'm

[sphinx-dev] Re: including docs with distribution...

2009-10-20 Thread Chris Withers
Thomas G. Willis wrote: > I guess what I would like to have is something like... > > c:\project\myegg-src>python setup.py bdist_egg > > to produce... > > ./myegg-0.0 > /docs > /myegg > /tests > > But I'm not quite grokking how to get this to work. Why would you want to include doc

[sphinx-dev] Re: including docs with distribution...

2009-10-18 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 dinoboff wrote: > You should look at paver for creative build solution: > http://www.blueskyonmars.com/projects/paver/ I solved it via overriding the sdist from distutils and adding the doc into the zip file afterwards with the right paths which wasn

[sphinx-dev] Re: including docs with distribution...

2009-10-18 Thread dinoboff
s and > distutils ;) > > Sent from my BlackBerry device from Cincinnati Bell Wireless > > > > -Original Message- > From: Roger Binns > Date: Sun, 18 Oct 2009 15:16:48 > To: > Subject: [sphinx-dev] Re: including docs with distribution... > > -

[sphinx-dev] Re: including docs with distribution...

2009-10-18 Thread tom . willis
ct 2009 15:16:48 To: Subject: [sphinx-dev] Re: including docs with distribution... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sffjunkie wrote: > I believe you need to create a ``MANIFEST.in`` file alongside your > ``setup.py``, with a line that says:: > > graft docs > &g

[sphinx-dev] Re: including docs with distribution...

2009-10-18 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sffjunkie wrote: > I believe you need to create a ``MANIFEST.in`` file alongside your > ``setup.py``, with a line that says:: > > graft docs > > Which should add the docs directory to your egg file (assuming you > have the docs directory in the

[sphinx-dev] Re: including docs with distribution...

2009-10-18 Thread Thomas G. Willis
Thanks for the reply, how does "graft" differ from recursive-include? Do you know? On Sun, Oct 18, 2009 at 3:26 AM, sffjunkie wrote: > > Thomas, > > I believe you need to create a ``MANIFEST.in`` file alongside your > ``setup.py``, with a line that says:: > >graft docs > > Which should add

[sphinx-dev] Re: including docs with distribution...

2009-10-18 Thread sffjunkie
Thomas, I believe you need to create a ``MANIFEST.in`` file alongside your ``setup.py``, with a line that says:: graft docs Which should add the docs directory to your egg file (assuming you have the docs directory in the root of your project.) It works for a standard distutils project so