[Trac] Re: Help packaging plugin : Source distribution

2009-05-22 Thread Olemis Lang

On Thu, May 21, 2009 at 3:56 PM, P.J. Eby p...@telecommunity.com wrote:
 At 11:15 AM 5/20/2009 -0500, Olemis Lang wrote:

 On Wed, May 20, 2009 at 10:09 AM, Jeff Hammel jham...@openplans.org
 wrote:
 
  You have to verbosely include them with package data.  IMHO, this is a
  setuptools bug.  E.g.:
 
       package_data={ 'geotrac': ['templates/*', 'htdocs/*'] },
       include_package_data=True,
 
  This is probably not quite right :(, but you get the idea.

 I just tried this and doesnt include files for sdist ... :(

 Looking forward for further hints : maybe it's just something I'm
 doing wrong, dont know, but eggs are ok so I'm not sure

 If you are not using a revision control system plugin, you will have to list
 sdist files in MANIFEST.in;

Thanks, I included files in MANIFEST.in now I can distribute source
packages for TracGViz [1]_  TracPyTppTheme [2]_ so that EGGs can be
built for different Py versions or whatever ...

So this is the way !

PS: BTW , I dont get the idea about specifying things twice (I mean
package_data  MANIFEST.in ;) Is there a «logical» reason for this ? I
mean why sdist doesnt look for the data specified in package_data ? Or
alternately, what is the reason for having MANIFEST.in too ?

Maybe this is OT and better discussed at distutils-sig, but anyway

Christ! You know it ain't easy
You know how hard it can be
The way things are going
They're going to crucify me

;o)

.. [1] TracGViz
   (http://pypi.python.org/pypi/TracGViz)

.. [2] TracPyTppTheme
   (http://pypi.python.org/pypi/TracPyTppTheme )

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
Un mundo hermoso gracias al producto Z: The World of Goo  -
http://feedproxy.google.com/~r/simelo-es/~3/5Rlq3bHsnHQ/un-mundo-increiblemente-hermoso-gracias_12.html

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Help packaging plugin : Source distribution

2009-05-20 Thread Jeff Hammel

You have to verbosely include them with package data.  IMHO, this is a 
setuptools bug.  E.g.:

  package_data={ 'geotrac': ['templates/*', 'htdocs/*'] },
  include_package_data=True,

This is probably not quite right :(, but you get the idea.

Jeff

On Wed, May 20, 2009 at 10:01:02AM -0500, Olemis Lang wrote:
 
 I wonder why resources (e.g. static files and templates) are not
 included in the (tar.gz | zip) file obtained after executing `setup.py
 sdist` to obtain a source distribution package of a Trac plugin ?
 
 Perhaps this is not an issue with Trac, but I'd appreciate if anybody
 could provide any pointers to get that done ;).
 
 Thnx in advance !
 
 -- 
 Regards,
 
 Olemis.
 
 Blog ES: http://simelo-es.blogspot.com/
 Blog EN: http://simelo-en.blogspot.com/
 
 Featured article:
 Un mundo hermoso gracias al producto Z: The World of Goo  -
 http://feedproxy.google.com/~r/simelo-es/~3/5Rlq3bHsnHQ/un-mundo-increiblemente-hermoso-gracias_12.html
 
  

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Help packaging plugin : Source distribution

2009-05-20 Thread Olemis Lang

 On Wed, May 20, 2009 at 10:01:02AM -0500, Olemis Lang wrote:

 I wonder why resources (e.g. static files and templates) are not
 included in the (tar.gz | zip) file obtained after executing `setup.py
 sdist` to obtain a source distribution package of a Trac plugin ?

 Perhaps this is not an issue with Trac, but I'd appreciate if anybody
 could provide any pointers to get that done ;).

 Thnx in advance !

 --
 Regards,

 Olemis.

 Blog ES: http://simelo-es.blogspot.com/
 Blog EN: http://simelo-en.blogspot.com/

 Featured article:
 Un mundo hermoso gracias al producto Z: The World of Goo  -
 http://feedproxy.google.com/~r/simelo-es/~3/5Rlq3bHsnHQ/un-mundo-increiblemente-hermoso-gracias_12.html


On Wed, May 20, 2009 at 10:09 AM, Jeff Hammel jham...@openplans.org wrote:

 You have to verbosely include them with package data.  IMHO, this is a 
 setuptools bug.  E.g.:

      package_data={ 'geotrac': ['templates/*', 'htdocs/*'] },
      include_package_data=True,

 This is probably not quite right :(, but you get the idea.


I just tried this and doesnt include files for sdist ... :(

Looking forward for further hints : maybe it's just something I'm
doing wrong, dont know, but eggs are ok so I'm not sure

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
Un mundo hermoso gracias al producto Z: The World of Goo  -
http://feedproxy.google.com/~r/simelo-es/~3/5Rlq3bHsnHQ/un-mundo-increiblemente-hermoso-gracias_12.html

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Help packaging plugin : Source distribution

2009-05-20 Thread Olemis Lang

 On Wed, May 20, 2009 at 10:01:02AM -0500, Olemis Lang wrote:

 I wonder why resources (e.g. static files and templates) are not
 included in the (tar.gz | zip) file obtained after executing `setup.py
 sdist` to obtain a source distribution package of a Trac plugin ?

 Perhaps this is not an issue with Trac, but I'd appreciate if anybody
 could provide any pointers to get that done ;).

 Thnx in advance !

 --
 Regards,

 Olemis.

 Blog ES: http://simelo-es.blogspot.com/
 Blog EN: http://simelo-en.blogspot.com/

 Featured article:
 Un mundo hermoso gracias al producto Z: The World of Goo  -
 http://feedproxy.google.com/~r/simelo-es/~3/5Rlq3bHsnHQ/un-mundo-increiblemente-hermoso-gracias_12.html


On Wed, May 20, 2009 at 10:09 AM, Jeff Hammel jham...@openplans.org wrote:

 You have to verbosely include them with package data.  IMHO, this is a 
 setuptools bug.  E.g.:

      package_data={ 'geotrac': ['templates/*', 'htdocs/*'] },
      include_package_data=True,

 This is probably not quite right :(, but you get the idea.


I just tried this and doesnt include files for sdist ... :(

Looking forward for further hints : maybe it's just something I'm
doing wrong, dont know, but eggs are ok so I'm not sure

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
Un mundo hermoso gracias al producto Z: The World of Goo  -
http://feedproxy.google.com/~r/simelo-es/~3/5Rlq3bHsnHQ/un-mundo-increiblemente-hermoso-gracias_12.html

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---