I have a nested directory with templates, like
templates/foo.pt
templates/admin/bar.pt
I thought I could include them in a package with:
setup(...
package_data={
'mypackage': ['templates/*']})
But it doesn't work -- while the package is fine, when installed
setuptools (maybe just i
Phillip J. Eby wrote:
> At 11:10 AM 9/15/2005 -0700, Robert Kern wrote:
>
>>I have a feeling that there isn't a pressing need to be able to install
>>.app bundles from easy_install. If the package maintainer is going to go
>>to the trouble of writing a setup.py that can be used with py2app, he'll
At 11:10 AM 9/15/2005 -0700, Robert Kern wrote:
>I have a feeling that there isn't a pressing need to be able to install
>.app bundles from easy_install. If the package maintainer is going to go
>to the trouble of writing a setup.py that can be used with py2app, he'll
>almost certainly actually bui
Kevin Dangoor wrote:
> On 9/15/05, Phillip J. Eby <[EMAIL PROTECTED]> wrote:
>
>>As for Mac OS, I have almost no experience with it, so I'm not sure what
>>GUI applications there need. Does everything need py2app? If you have a
>>wx-based app, would you just make a #! script? Bob Ippolito previ
Trent Mick <[EMAIL PROTECTED]> writes:
> I haven't yet played with setuptools/eggs/etc. so my comments might be
> ignorant.
>
> [Phillip J. Eby wrote]
>> Then EasyInstall could create a 'unittest' script with a #! line on
>> Unix-like OSes, and a 'unittest.py', 'unittest.bat', or 'unittest.exe' o
Overall, I like the idea of using an entry point for scripts and
getting some of the benefits you're talking about...
On 9/15/05, Phillip J. Eby <[EMAIL PROTECTED]> wrote:
> As for Mac OS, I have almost no experience with it, so I'm not sure what
> GUI applications there need. Does everything nee
[Ian Bicking wrote]
> I've already noted my distaste for __name__ == '__main__', so I'd be
> happy to see it go (or, at least replaced with something better).
That facility is about one of the most useful in Python.
...but I haven't read your previous comments on that. :)
Trent
--
Trent Mick
[
I haven't yet played with setuptools/eggs/etc. so my comments might be
ignorant.
[Phillip J. Eby wrote]
> Then EasyInstall could create a 'unittest' script with a #! line on
> Unix-like OSes, and a 'unittest.py', 'unittest.bat', or 'unittest.exe' on
> Windows. In each case, the generated progr
At 10:41 AM 9/15/2005 -0500, Ian Bicking wrote:
>One issue that has come up for me is the way setuptools currently
>generates scripts causes problems for me. For instance, if I do
>tag_svn_revision, then the version of my package can change in place
>(whenever I do setup.py egg_info). The scri
On 9/15/05, Phillip J. Eby <[EMAIL PROTECTED]> wrote:
> No; bdist_egg should do exactly the same thing as the others, as they all
> use the 'egg_info' command to determine the tagging. I presume you have
> something like:
>
> [egg_info]
> tag_svn_revision = 1
>
> in an appropriate conf
Phillip J. Eby wrote:
> Every so often, there's a perennial debate on the distutils-sig about
> script filenames. Should they have .py extensions or not? What about .pyw
> apps on Windows? What about Mac OS? and so on.
>
> It occurred to me this morning that we now have a new tool for resolv
At 11:23 AM 9/15/2005 -0400, Kevin Dangoor wrote:
>I've noticed that if I run a setup.py install, the svn revision shows
>up there. If I run setup.py bdist_egg, the filename generated does not
>have the revision.
>
>Is that on purpose?
No; bdist_egg should do exactly the same thing as the others,
I've noticed that if I run a setup.py install, the svn revision shows
up there. If I run setup.py bdist_egg, the filename generated does not
have the revision.
Is that on purpose?
Kevin
___
Distutils-SIG maillist - Distutils-SIG@python.org
http://mail
Every so often, there's a perennial debate on the distutils-sig about
script filenames. Should they have .py extensions or not? What about .pyw
apps on Windows? What about Mac OS? and so on.
It occurred to me this morning that we now have a new tool for resolving
this issue in setuptools' "
hi.
I have just discovered that setup.py can take a --record
option. would it be possible add a line to .pydistutils.cfg so that
each package records to a own file, called foo-1.2.0?
--
cheers
elvelind grandin
___
Distutils-SIG maillist - Distuti
Phillip J. Eby wrote:
> Maybe this is a dumb question, but if this is a Debian-specific issue,
> can't you just create a Debian package that combines the setuptools .egg
> and .pth files with a '/usr/lib/python2.4/distutils/distutils.cfg' file
> that contains the right options? Then, --prefix
16 matches
Mail list logo