On Thu, May 21, 2009 at 3:56 PM, P.J. Eby <[email protected]> wrote:
> At 11:15 AM 5/20/2009 -0500, Olemis Lang wrote:
>>
>> On Wed, May 20, 2009 at 10:09 AM, Jeff Hammel <[email protected]>
>> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to