Re: [Distutils] Dynamic linking on Linux, Mac OS, et al

2006-01-14 Thread Jim Fulton
on development and deployment systems and because we may need different versions for different applications on a development machine. I'm just beginning to learn about eggs. I certainly hope I'll have the same flexibility when installing eggs that I have now when using distutils. Jim -- Jim Fulton

[Distutils] License for virtual-python.py?

2006-01-14 Thread Jim Fulton
virtual-python.py looks very useful. It lacks a license/copyright statement though. Can we get this? Are there plans to include this script in 2.5? Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org

Re: [Distutils] Dynamic linking on Linux, Mac OS, et al

2006-01-14 Thread Jim Fulton
Phillip J. Eby wrote: At 10:06 AM 1/14/2006 -0500, Jim Fulton wrote: On many Linux (Unix?) platforms, you can pass an -rpath/-R option to the linker at build time that causes the run-time linker to use specific paths to load libraries. This feature is supported by disutils through its

[Distutils] setuptools in 2.5?

2006-01-15 Thread Jim Fulton
logic. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ Distutils-SIG maillist

[Distutils] eggs in Python path

2006-01-15 Thread Jim Fulton
-- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ Distutils-SIG maillist - Distutils-SIG

[Distutils] Easy install, making Traditional PYTHONPATH-based Installation work better

2006-02-05 Thread Jim Fulton
, which could serve as a prototype for the proposed change. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

Re: [Distutils] API for finding plugins

2006-02-09 Thread Jim Fulton
, the application should be able to find the entry points in that working set. Does that capture what you want to do? Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com

Re: [Distutils] A prefix option?

2006-02-09 Thread Jim Fulton
, which means the trick of putting eggs and scripts in the same directory doesn't work, - is simple. :) It appears that this has something to do with your plugin proposal. I'll try to participate in that discussion to tease this out a bit more. Jim -- Jim Fulton mailto:[EMAIL PROTECTED

Re: [Distutils] A prefix option?

2006-02-10 Thread Jim Fulton
Phillip J. Eby wrote: At 07:31 AM 2/9/2006 -0500, Jim Fulton wrote: I really don't think the virtual python approach is viable, at a minimum because it doesn't work on windows. It is also unacceptably heavy IMO. What do you mean by heavy? It essentially duplicates the python install

Re: [Distutils] A prefix option?

2006-02-11 Thread Jim Fulton
Phillip J. Eby wrote: At 06:40 AM 2/10/2006 -0500, Jim Fulton wrote: Phillip J. Eby wrote: At 07:31 AM 2/9/2006 -0500, Jim Fulton wrote: I really don't think the virtual python approach is viable, at a minimum because it doesn't work on windows. It is also unacceptably heavy IMO

Re: [Distutils] DWIM installation with setuptools

2006-02-11 Thread Jim Fulton
Phillip J. Eby wrote: At 12:07 PM 2/11/2006 -0500, Jim Fulton wrote: I think you're on the right track, at least from a functionality point of view, although I don't want to require a special PYTHONPATH setting to use a generated wrapper script. Just two quick comments: the PYTHONPATH

[Distutils] Script-specific .pth files?

2006-02-11 Thread Jim Fulton
inspect the .pth file to see exactly what's being used. They can even modify it if the feel so bold. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http

Re: [Distutils] API for finding plugins

2006-02-11 Thread Jim Fulton
would be for users of the application to install plugins one by one. The application can advise them of sucess or failure, let them know about conflicts and possible remedies and let the user decide what to do. I think this would be a better model. Jim -- Jim Fulton mailto:[EMAIL

Re: [Distutils] API for finding plugins

2006-02-11 Thread Jim Fulton
counts. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ Distutils-SIG maillist

Re: [Distutils] API for finding plugins

2006-02-11 Thread Jim Fulton
Phillip J. Eby wrote: At 07:15 AM 2/9/2006 -0500, Jim Fulton wrote: Phillip J. Eby wrote: I recently started work on adding egg support to Chandler ( http://chandler.osafoundation.org/ ), and ran into some interesting issues with respect to plugin discovery. Specifically, it's not easy

Re: [Distutils] Working environment

2006-03-11 Thread Jim Fulton
on Windows. I'm not entirely sure where I'm going with this, though. I think that something much simpler can be made to work. I think a little more control over how scripts get generated would go a long way. (There is still the question of the interactive interpreter...) Jim -- Jim Fulton

Re: [Distutils] Working environment

2006-03-11 Thread Jim Fulton
Ian Bicking wrote: Jim Fulton wrote: ... lib/python2.4/ is for packages. Minor note: this needs to be flexible. I'd be more inclined to go with something shallower and simpler, like just lib, Why? Top-level packages aren't portable, since .pyc files aren't portable. Eggs

[Distutils] Script-specific .pth files (or baking paths into scripts)

2006-05-17 Thread Jim Fulton
I seem to remember a threat from from Phillip to make a proposal for installing script-specific ,pth files with scripts, but I don't think I every saw anything. Have I missed anything? If so, what? :) If not, I'll probably write something myself and share it. Jim -- Jim Fulton

Re: [Distutils] Script-specific .pth files (or baking paths into scripts)

2006-05-17 Thread Jim Fulton
Ian Bicking wrote: Jim Fulton wrote: I seem to remember a threat from from Phillip to make a proposal for installing script-specific ,pth files with scripts, but I don't think I every saw anything. Have I missed anything? If so, what? :) If not, I'll probably write something myself

Re: [Distutils] Script-specific .pth files (or baking paths into scripts)

2006-05-17 Thread Jim Fulton
Ian Bicking wrote: Jim Fulton wrote: Ian Bicking wrote: Jim Fulton wrote: I seem to remember a threat from from Phillip to make a proposal for installing script-specific ,pth files with scripts, but I don't think I every saw anything. Have I missed anything? If so, what

Re: [Distutils] Script processing plugins?

2006-05-17 Thread Jim Fulton
-- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ Distutils-SIG maillist - Distutils-SIG

[Distutils] What is the reason for requiring that an explicitly set egg-install installation is in the path?

2006-05-18 Thread Jim Fulton
need a path nanny. :) I can understand this, to some degree, if --prefix is used, but if I specifically set an install location, setuptools should trust that I know what the heck I'm doing. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361

Re: [Distutils] What is the reason for requiring that an explicitly set egg-install installation is in the path?

2006-05-18 Thread Jim Fulton
Phillip J. Eby wrote: At 10:08 AM 5/18/2006 -0400, Jim Fulton wrote: If I explicitly specify an installation directory, for example, by specifying: [install] install_lib = ~/py-lib install_scripts = ~/bin in setup.cfg, setuptools gives me an error is the specified lib dir

[Distutils] Why isn't a link given higher precedence than an egg

2006-05-24 Thread Jim Fulton
it to get preference bacause it reflects current developemnt. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

[Distutils] Bug in easy_install?

2006-06-04 Thread Jim Fulton
in a directory sys.path, but I see no check. Why are the eggs not copied? Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp

[Distutils] Requirent specifiers specified? :)

2006-06-21 Thread Jim Fulton
/demoneeded-1.9-py2.4.egg)] I really don't know what's going on with these. :) Are the rules for combining specifiers specified anywhere? Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation

Re: [Distutils] Requirent specifiers specified? :)

2006-06-21 Thread Jim Fulton
Phillip J. Eby wrote: At 04:52 PM 6/21/2006 -0400, Jim Fulton wrote: ... I was going to say, of course, and give you a link, but I'm surprised to discover there's nothing I can find. Which is weird because I *know* I wrote something. I thought you did too. However I suspect

[Distutils] Optimizing easy-install upgrade

2006-06-21 Thread Jim Fulton
to get the specifiers, however, this attribute isn't documented. Should I assume that it is private? Or is it safe to use. - I'm still a bit foggy on how to interpret the specifiers. But we're discussing that in another thread. Jim -- Jim Fulton mailto:[EMAIL PROTECTED

Re: [Distutils] Requirent specifiers specified? :)

2006-06-22 Thread Jim Fulton
On Jun 21, 2006, at 6:21 PM, Phillip J. Eby wrote: At 05:36 PM 6/21/2006 -0400, Jim Fulton wrote: In ascending version order, what is the ordering of: 1.2, 1.2, ==1.2, =1.2, =1.2, and !=1.2 ? It's actually unspecified, because it makes no sense to have more than one condition

Re: [Distutils] Requirent specifiers specified? :)

2006-06-22 Thread Jim Fulton
: 1.2, 1.3 there is an implicit -infinity and infinity so that, for example, 1.9 falls between the pair 1,3 and infinity. Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http

Re: [Distutils] Optimizing easy-install upgrade

2006-06-22 Thread Jim Fulton
On Jun 21, 2006, at 6:27 PM, Phillip J. Eby wrote: At 05:37 PM 6/21/2006 -0400, Jim Fulton wrote: Suppose I have the directory: /home/jim/tmp/dist: used 92 available 41345796 -rw-rw-r-- 1 jim jim 671 Jun 19 17:43 demoneeded-1.0-py2.4.egg -rw-rw-r-- 1 jim jim 672 Jun 19

[Distutils] Puzzling easy_install behavior

2006-06-22 Thread Jim Fulton
didn't get the available upgrade for demoneeded. Is that intended? Are there plans for a recursive upgrade option? Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http

Re: [Distutils] Puzzling easy_install behavior

2006-06-22 Thread Jim Fulton
On Jun 22, 2006, at 11:38 AM, Phillip J. Eby wrote: nest is supposed to be part of setuptools 0.7, but 0.6 final isn't out yet. I don't know what nest is. Is it described anywhere? Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO

Re: [Distutils] Optimizing easy-install upgrade

2006-06-22 Thread Jim Fulton
On Jun 22, 2006, at 11:48 AM, Phillip J. Eby wrote: At 07:25 AM 6/22/2006 -0400, Jim Fulton wrote: I can get at the specifiers. What I want is either a public API for getting the specifiers, or an API that lets me retrieve the upper bound, if there is one. (Obviously, it could return None

Re: [Distutils] Requirent specifiers specified? :)

2006-06-22 Thread Jim Fulton
On Jun 22, 2006, at 12:49 PM, Phillip J. Eby wrote: At 12:26 PM 6/22/2006 -0400, Jim Fulton wrote: On Jun 21, 2006, at 5:11 PM, Phillip J. Eby wrote: Requirement strings basically consist of a distribution name, an optional list of options (more on this in a moment), and a comma

Re: [Distutils] Requirent specifiers specified? :)

2006-06-22 Thread Jim Fulton
On Jun 22, 2006, at 1:42 PM, Phillip J. Eby wrote: At 01:05 PM 6/22/2006 -0400, Jim Fulton wrote: On Jun 22, 2006, at 12:49 PM, Phillip J. Eby wrote: At 12:26 PM 6/22/2006 -0400, Jim Fulton wrote: On Jun 21, 2006, at 5:11 PM, Phillip J. Eby wrote: Requirement strings basically consist

Re: [Distutils] Requirent specifiers specified? :)

2006-06-22 Thread Jim Fulton
On Jun 22, 2006, at 1:56 PM, Jim Fulton wrote: I assume you are alluding to what I assume is the case that that there is an implicit -infinity and infinity, so the above example becomes: No, that can't be right. If that were so, then ==1.2 would be meaningless So I have no idea what

Re: [Distutils] Requirent specifiers specified? :)

2006-06-22 Thread Jim Fulton
On Jun 22, 2006, at 3:00 PM, Phillip J. Eby wrote: At 02:20 PM 6/22/2006 -0400, Jim Fulton wrote: On Jun 22, 2006, at 1:56 PM, Jim Fulton wrote: I assume you are alluding to what I assume is the case that that there is an implicit -infinity and infinity, so the above example becomes

Re: [Distutils] Requirent specifiers specified? :)

2006-06-22 Thread Jim Fulton
On Jun 22, 2006, at 4:08 PM, Jim Fulton wrote: ... A simple state machine is used to implement this: state_machine = { # = '' : '--T', '=': 'T-T', '' : 'F+F', '=': 'T+F', '==': 'T..', '!=': 'F++', } cmp() is used to determine whether

Re: [Distutils] Requirent specifiers specified? :)

2006-06-22 Thread Jim Fulton
to do that, they sometimes need precise specifications of behavior. Jim On Jun 22, 2006, at 4:36 PM, Phillip J. Eby wrote: At 04:08 PM 6/22/2006 -0400, Jim Fulton wrote: So given:1, 3, 5, 7 You are sure that 4 is accepted? Scanning left to right, 1 is a lower bound and 4 is above it, so

Re: [Distutils] Requirent specifiers specified? :)

2006-06-23 Thread Jim Fulton
On Jun 22, 2006, at 6:51 PM, Phillip J. Eby wrote: At 04:54 PM 6/22/2006 -0400, Jim Fulton wrote: In any case, I expect that having people build tools on top of setuptools is a use case you anticipated. For people to do that, they sometimes need precise specifications of behavior

[Distutils] Is there any harm in clearing sys.path_importer_cache from time to time?

2006-06-23 Thread Jim Fulton
users force downloads to be unzipped, which I may do anyway to be safe. :) Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp://www.zope.com

Re: [Distutils] Is there any harm in clearing sys.path_importer_cache from time to time?

2006-06-23 Thread Jim Fulton
On Jun 23, 2006, at 11:53 AM, Phillip J. Eby wrote: At 11:37 AM 6/23/2006 -0400, Jim Fulton wrote: I have a script based on setuptools that invokes easy install to check for and download newer distributions. I allow users to specify whether or not they want unzipped downloads

[Distutils] Specification for package indexes?

2006-06-23 Thread Jim Fulton
link given? Also, I've noticed that if you gibe a location with find-links that has links to distributions for the thing you're looking for, it you can specify pretty much anything as an index. Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO

Re: [Distutils] Specification for package indexes?

2006-06-23 Thread Jim Fulton
On Jun 23, 2006, at 4:30 PM, Phillip J. Eby wrote: At 04:10 PM 6/23/2006 -0400, Jim Fulton wrote: What form must an index take to be usable with setuptools? Is there anything documented how such a beast should be organized? What should it's pages should look like? Is there any special

[Distutils] setup.py develop ignores --no-deps option

2006-06-25 Thread Jim Fulton
AFAICT, with 0.6b3, setup.py develop ignores the --no-deps option. Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp://www.zope.com

[Distutils] README(.txt)?

2006-06-28 Thread Jim Fulton
and, guess what? It's not included. Bug or feature? Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp://www.zope.com http

[Distutils] Best practices for creating eggs?

2006-06-28 Thread Jim Fulton
Has anyone written up any best practices for creating eggs? How do people handle documentation? Our packages tend to have documentation files included as doctests, but It's not clear how folks are expected to get to them, especially if the eggs are zip files. -- Jim Fulton

[Distutils] Weird PyPI Behavior

2006-06-28 Thread Jim Fulton
with the descriptive information, then easy_install can find the eggs, but most of my meta data isn't shown. Has anyone else seen this behavior, or am I just insane. For now, I'm not uploading eggs to PyPI, which is a shame, because setuptools sure made it convenient. :( Jim -- Jim Fulton

Re: [Distutils] README(.txt)?

2006-06-28 Thread Jim Fulton
On Jun 28, 2006, at 4:56 PM, Phillip J. Eby wrote: At 04:37 PM 6/28/2006 -0400, Jim Fulton wrote: If I don't have a README or README.txt file next to my setup.py file when I create an edd, I'll get the warning: warning: manifest_maker: standard file not found: should have one of README

Re: [Distutils] Weird PyPI Behavior

2006-06-28 Thread Jim Fulton
On Jun 28, 2006, at 5:30 PM, Phillip J. Eby wrote: At 05:16 PM 6/28/2006 -0400, Jim Fulton wrote: Interesting. I thought that --tag-svn-revision was a common/ recommended practice. It *is* -- but not for releases being sent to PyPI. a dev-r release is a development snapshot

Re: [Distutils] Weird PyPI Behavior

2006-06-28 Thread Jim Fulton
On Jun 28, 2006, at 6:09 PM, Phillip J. Eby wrote: At 05:42 PM 6/28/2006 -0400, Jim Fulton wrote: If I want people to be able to download it, I have to upload it somewhere. Not necessarily. If you have a pure-Python package, and your target audience has Subversion, you can provide a URL

[Distutils] How does one register a framework classifier?

2006-06-28 Thread Jim Fulton
How does one register a new Framework classifier? Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp://www.zope.com http

Re: [Distutils] Weird PyPI Behavior

2006-06-29 Thread Jim Fulton
it because the existing release doesn't get overwritten. Another issue is that I see us moving toward lots of fairly fine-grained packages and I want to keep the ceremony pretty low. Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO

Re: [Distutils] How does one register a framework classifier?

2006-06-29 Thread Jim Fulton
On Jun 29, 2006, at 6:52 AM, Kevin Dangoor wrote: On Jun 28, 2006, at 7:30 PM, Jim Fulton wrote: How does one register a new Framework classifier? FWIW, I've been using keywords a lot, because I can add arbitrary ones whenever I wish and still do searches. TurboGears has a package

Re: [Distutils] [Catalog-sig] Specification for package indexes?

2006-07-07 Thread Jim Fulton
On Jul 7, 2006, at 4:20 PM, Phillip J. Eby wrote: At 02:52 PM 7/7/2006 -0400, Jim Fulton wrote: ... Perhaps someone should propose an API and we'll see. :) I thought I already did. :) Here it is again: baseURL/ should return a page containing href links to projects baseURL/projectname

Re: [Distutils] Mystery solved

2006-07-10 Thread Jim Fulton
one shouldn't. This means that one always has to use an index. In which case, what is the point of find-links? Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org

Re: [Distutils] Mystery solved

2006-07-11 Thread Jim Fulton
On Jul 11, 2006, at 11:25 AM, Phillip J. Eby wrote: At 03:54 AM 7/11/2006 -0400, Jim Fulton wrote: On Jul 10, 2006, at 6:22 PM, Phillip J. Eby wrote: Here's the problem. Reducing everything to info messages means there's effectively no control over output detail. I generally use 'warn

Re: [Distutils] Mystery solved

2006-07-11 Thread Jim Fulton
On Jul 11, 2006, at 2:07 PM, Phillip J. Eby wrote: At 11:50 AM 7/11/2006 -0400, Jim Fulton wrote: OK that's an interesting point wrt possible misspellings. If you can find the package via the find links, but not via the index, that seems to me to be a pretty good indication

[Distutils] Passing build_ext arguments to easy_install?

2006-08-08 Thread Jim Fulton
a setup.cfg into the resulting directory and then run easy_install on the result. I would hope though that there is a better way. :) Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714

Re: [Distutils] Passing build_ext arguments to easy_install?

2006-08-08 Thread Jim Fulton
On Aug 8, 2006, at 11:58 AM, Phillip J. Eby wrote: At 10:43 AM 8/8/2006 -0400, Jim Fulton wrote: One hack I can think of is to use --editible and --build-directory to download the package, write a setup.cfg into the resulting directory and then run easy_install on the result. I would hope

Re: [Distutils] Passing build_ext arguments to easy_install?

2006-08-08 Thread Jim Fulton
On Aug 8, 2006, at 12:15 PM, Phillip J. Eby wrote: At 12:02 PM 8/8/2006 -0400, Jim Fulton wrote: On Aug 8, 2006, at 11:58 AM, Phillip J. Eby wrote: At 10:43 AM 8/8/2006 -0400, Jim Fulton wrote: One hack I can think of is to use --editible and --build- directory to download the package

[Distutils] Want to use PackageIndex (and other APIs)

2006-08-11 Thread Jim Fulton
mentioned the other day, my plan to to make more use of setuptools and less use of easy_install in zc.buildout, until I eventually don't use easy_install at all. Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361

[Distutils] pkg_resources.declare_namespace vs pkgutil.extend_path

2006-08-11 Thread Jim Fulton
-- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp://www.zope.com http://www.zope.org

[Distutils] zip_safe flag not set; analyzing archive contents... should be info, not a warning

2006-08-16 Thread Jim Fulton
IMO, the message zip_safe flag not set; analyzing archive contents... should be an info message, not a warning message, at lease when processing non-setuptools-based source distribution. Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO

[Distutils] Problems with cli.exe

2006-08-21 Thread Jim Fulton
to take a crack at fixing the bug and adding the feature. Where is the source? I assume that this also applies to gui.exe. BTW, Shouldn't the setuptools project be moved out of sandbox and be made a proper svn project with it's own trunk, branches, and tags? Jim -- Jim Fulton

Re: [Distutils] Problems with cli.exe

2006-08-22 Thread Jim Fulton
-- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp://www.zope.com http://www.zope.org

Re: [Distutils] Problems with cli.exe

2006-08-22 Thread Jim Fulton
On Aug 22, 2006, at 3:21 PM, Phillip J. Eby wrote: Let me know if you'd like me to merge this to the 0.6 branch and trunk. Yes, please. I'll take care of updating the release notes for 0.6c2. Done. Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python

Re: [Distutils] Improving setuptools bootstrapping

2006-09-05 Thread Jim Fulton
that ez_setup has a well-known URL, so my bootstrap script, http://svn.zope.org/zc.buildout/trunk/bootstrap/bootstrap.py? view=auto can be pretty stupid and minimal. Of course, if ez_setup went away, I'd cope. :) Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python

Re: [Distutils] [setuptools] best way to create offline install bundles?

2006-09-12 Thread Jim Fulton
://www.BlueSkyOnMars.com ___ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361

Re: [Distutils] [setuptools] best way to create offline install bundles?

2006-09-12 Thread Jim Fulton
On Sep 12, 2006, at 7:37 AM, Jim Fulton wrote: On Sep 8, 2006, at 9:14 AM, Kevin Dangoor wrote: Is this something zc.buildout can help with? Probably. zc.buildout isn't aimed squarely at this use case. It might work, either as is, or expanded, or some of it's parts might help. I'll

Re: [Distutils] HOwto download only egg's with setuptools/EasyInstall

2006-09-13 Thread Jim Fulton
to assemble a bunch of source distributions so that your tar ball is useful on a number of distributions, at least for a source tarball. FWIW, I plan, in the next few days to publish a proposal for providing this functionality in zc.buildout. Jim -- Jim Fulton mailto:[EMAIL

Re: [Distutils] should setuptools be an implicit dependency of every egg?

2006-09-19 Thread Jim Fulton
in the path of every script. Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp://www.zope.com http://www.zope.org

Re: [Distutils] should setuptools be an implicit dependency of every egg?

2006-09-20 Thread Jim Fulton
On Sep 19, 2006, at 8:11 AM, Jim Fulton wrote: ... Note that the scripts generated by zc.buildout don't use pkg_resources to determine the eggs to be loaded at run time. It's also worth noting that the eggs documentation, http:// peak.telecommunity.com/DevCenter/PythonEggs, explicitly

[Distutils] sftp support

2006-09-20 Thread Jim Fulton
in a form tailored specifically to setuptools. To use it, just import and call zc.buildoutsftp.buildoutsftp.install(). This installs the sftp handler into urllib2. Then, in your setuptools-based application, you can use sftp urls to name an index server or find links. Jim -- Jim Fulton

Re: [Distutils] Draft of new setuptools installation instructions

2006-10-04 Thread Jim Fulton
Jim Fulton wrote: ... This will probably break buildout's bootstrapping script, which uses ez_setup. I was too hasty in making this remark. The buildout bootstrap script, http://svn.zope.org/zc.buildout/trunk/bootstrap/bootstrap.py?view=markup Uses the use_setup function from ez_setup.py

[Distutils] YAGNI extras and tests_require

2006-10-22 Thread Jim Fulton
.) Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ Distutils-SIG maillist

Re: [Distutils] YAGNI extras and tests_require

2006-10-22 Thread Jim Fulton
Matt Good wrote: Oops, I forgot to copy the list on my first respose. On Sun, 2006-10-22 at 14:45 -0400, Jim Fulton wrote: Matt Good wrote: On Sun, 2006-10-22 at 13:52 -0400, Jim Fulton wrote: I'd like to call Ya aint gonna need it on the extras feature of setuptools. As far as I can

Re: [Distutils] SetupTools: Running EasyInstall From Within A Script?

2006-11-17 Thread Jim Fulton
. See: http://svn.zope.org/zc.buildout/trunk/src/zc/buildout/easy_install.txt?view=markup Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http

Re: [Distutils] Organizing for buildout questions

2006-11-28 Thread Jim Fulton
not follow the same pattern as for public projects? I don't see why a project's structure should depend on whether it is public or private. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation

Re: [Distutils] buildout and zc.recipe.egg:custom problems

2006-12-03 Thread Jim Fulton
Jim Fulton wrote: Martijn Faassen wrote: Hi there, I'm trying to induce zc.buildout's zc.recipe.egg:custom recipe to build a library (lxml) against C libraries (libxml2, libxslt) installed in a custom place, i.e. as parts, such as parts/libxml2/include and parts/libxml2/lib. I thought

Re: [Distutils] develop egg recipe?

2006-12-04 Thread Jim Fulton
On Dec 2, 2006, at 8:50 AM, Jim Fulton wrote: ... I plan to write a develop recipe, and am hoping to get to that this weekend. I've just released a new version of zc.recipe.egg that provides a develop recipe: http://www.python.org/ pypi?:action=displayname=zc.recipe.eggversion=1.0.0b3

Re: [Distutils] zc.buildout minitutorial at PyCon

2006-12-22 Thread Jim Fulton
Jim Fulton wrote: The other mini tutorial is on the Zope Component Architecture. It is aimed a Python programmers in general. You needed be or intend to be a Zope developer to benefit from it. I tried to type needn't. Sorry. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python

Re: [Distutils] HTTP authentication support

2006-12-29 Thread Jim Fulton
://www.python.org/pypi/zc.buildoutsftp This has the advantage that, if you use an SSH agent, you don't have to enter credentials when you download a transaction. And, of course, it is more secure than digest or basic authentication. Jim -- Jim Fulton mailto:[EMAIL PROTECTED

[Distutils] tests_require and test_suite in egg-info

2007-01-04 Thread Jim Fulton
It appears that the values of the tests_require and test_suite keyword arguments isn't captured in egg-info. Am I missing something? Why would this information be omitted? I would like to use it when generating test runners in zc.buildout. Jim -- Jim Fulton mailto

Re: [Distutils] tests_require and test_suite in egg-info

2007-01-04 Thread Jim Fulton
On Jan 4, 2007, at 4:37 PM, Phillip J. Eby wrote: At 04:14 PM 1/4/2007 -0500, Jim Fulton wrote: It appears that the values of the tests_require and test_suite keyword arguments isn't captured in egg-info. Am I missing something? Why would this information be omitted? Because the only

[Distutils] RFC: Standard Declaration of tests in eggs

2007-01-05 Thread Jim Fulton
distributions listed in extra requires for the 'tests' extra shall be included in the working set for the test runner. Thoughts? Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation

Re: [Distutils] RFC: Standard Declaration of tests in eggs

2007-01-05 Thread Jim Fulton
David Fraser wrote: Jim Fulton wrote: Here is a rough draft proposal for declaring tests in eggs: Introduction Software packages should have automated tests. Consumers of packages will often want to run these tests. Tools should be able to do this automatically

Re: [Distutils] RFC: Standard Declaration of tests in eggs

2007-01-22 Thread Jim Fulton
Phillip J. Eby wrote: At 01:11 PM 1/5/2007 -0500, Jim Fulton wrote: Phillip J. Eby wrote: ... Why can't an entry point invoke a test loader itself? This seems much simpler and more straightforward to me. Because that requires you to write code for something that can adequately be expressed

Re: [Distutils] RFC: Standard Declaration of tests in eggs

2007-01-22 Thread Jim Fulton
Phillip J. Eby wrote: At 10:14 AM 1/22/2007 -0500, Jim Fulton wrote: I'd rather let people use whatever framework they want to do this and to control this from Python. The approach I suggested certainly allows that to happen, I know. That's why I wouldn't object to it. Jim -- Jim Fulton

Re: [Distutils] Building an egg from Subversion using zc.buildout

2007-01-29 Thread Jim Fulton
be wrong. Since zc.buildout uses setuptools though, if there is a standard setuptools way of doing this, I'd hope it should be possible to do it in zc.buildout? Is there a way to do find-links in buildout? I think so, maybe named something like find-links. Yup. Jim -- Jim Fulton

Re: [Distutils] Building an egg from Subversion using zc.buildout

2007-01-29 Thread Jim Fulton
or whatever in that list of eggs as well. But I'm not sure how that relates to svn link above. There seems to need to be a page you can point to with an #dev anchor that specified the project name. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO

Re: [Distutils] Building an egg from Subversion using zc.buildout

2007-01-29 Thread Jim Fulton
. Not for easy_install, you don't. If buildout doesn't support it, that's a bug or limitation of buildout. buildout does support find-links (and index, for that matter). Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http

Re: [Distutils] Building an egg from Subversion using zc.buildout

2007-01-29 Thread Jim Fulton
-- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ Distutils-SIG maillist - Distutils-SIG

Re: [Distutils] zc.buildout likes to download eggs...

2007-01-29 Thread Jim Fulton
for develop eggs or eggs that are build with custom build options. It is only used for eggs that are known to be constant for a given version and thus sharable accross projects.) Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http

Re: [Distutils] Building an egg from Subversion using zc.buildout

2007-01-29 Thread Jim Fulton
On Jan 29, 2007, at 5:14 PM, Martin Aspeli wrote: Jim Fulton wrote: So, from your example, you now have a kss.core-0.1dev egg. It isn't a real release. It reflects the state of your subversion repository at the time you happened to run the buildout. My guess is that if you run

Re: [Distutils] Building an egg from Subversion using zc.buildout

2007-01-29 Thread Jim Fulton
On Jan 29, 2007, at 5:26 PM, Phillip J. Eby wrote: At 05:07 PM 1/29/2007 -0500, Jim Fulton wrote: On Jan 29, 2007, at 4:52 PM, Martin Aspeli wrote: Jim Fulton wrote: So do you get a develop egg and egg link or a regular egg for each of these packages? If the later, as I fear, I

Re: [Distutils] Building an egg from Subversion using zc.buildout

2007-01-29 Thread Jim Fulton
= archetypes.kss Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp://www.zope.com http://www.zope.org

Re: [Distutils] Optional C extensions in packages

2007-02-01 Thread Jim Fulton
On Feb 1, 2007, at 1:03 PM, Phillip J. Eby wrote: At 07:11 AM 2/1/2007 -0500, Jim Fulton wrote: I like the goal, since most of our extensions are in this category, however, I have a feeling that this use case might be better served by packaging the extensions as separate distributions

Re: [Distutils] Optional C extensions in packages

2007-02-02 Thread Jim Fulton
Phillip J. Eby wrote: At 05:32 PM 2/1/2007 -0500, Jim Fulton wrote: I'm still worried about the ambiguous case when there are both platform-dependent and platform-independent eggs installed. How would this happen? At least in a couple of ways. 1. As I mentioned in my previous note, when

  1   2   3   4   5   6   7   >