setuptools v. subversion 1.6
Hi All, I see setuptools still doesn't like subversion 1.6 working copies. Is that likely to change this century? :-( Worse still, I tried using: http://svn.collab.net/repos/svn/trunk/tools/client-side/change-svn-wc-format... ..to downgrade the working copy with: python ../change-svn_wc_format.py --verbose . 1.4 However, setuptools still whines: $ bin/buildout setup setup.py sdist Running setup script 'setup.py'. running sdist running egg_info writing requirements to mypackage.egg-info/requires.txt writing mypackage.egg-info/PKG-INFO writing top-level names to mypackage.egg-info/top_level.txt writing dependency_links to mypackage.egg-info/dependency_links.txt unrecognized .svn/entries format in ...uselessly: it does't actually tell me where the entries file is that it has problems with. What am I doing wrong? Is this a bug in change-svn-wc-format.py? How can I work around this? cheers, Chris
IMO, include_package_data is an attractive nuisance. For newer projects, I just use package_data with a few globs. Jim On Jun 30, 2009, at 12:49 PM, Chris Withers wrote:
Hi All,
I see setuptools still doesn't like subversion 1.6 working copies. Is that likely to change this century? :-(
Worse still, I tried using:
http://svn.collab.net/repos/svn/trunk/tools/client-side/change-svn-wc-format...
..to downgrade the working copy with:
python ../change-svn_wc_format.py --verbose . 1.4
However, setuptools still whines:
$ bin/buildout setup setup.py sdist Running setup script 'setup.py'. running sdist running egg_info writing requirements to mypackage.egg-info/requires.txt writing mypackage.egg-info/PKG-INFO writing top-level names to mypackage.egg-info/top_level.txt writing dependency_links to mypackage.egg-info/dependency_links.txt unrecognized .svn/entries format in
...uselessly: it does't actually tell me where the entries file is that it has problems with.
What am I doing wrong? Is this a bug in change-svn-wc-format.py? How can I work around this?
cheers,
Chris _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
-- Jim Fulton Zope Corporation
Jim Fulton wrote:
IMO, include_package_data is an attractive nuisance. For newer projects, I just use package_data with a few globs.
It's all I've ever known :-S Where are the docs for what I should use instead of the packages and incude_package_data parameters to setuptools's setup function and the find_packages function? cheers, Chris
On Jun 30, 2009, at 1:44 PM, Chris Withers wrote:
Jim Fulton wrote:
IMO, include_package_data is an attractive nuisance. For newer projects, I just use package_data with a few globs.
It's all I've ever known :-S
Where are the docs for what I should use instead of the packages and incude_package_data parameters to setuptools's setup function and the find_packages function?
The packages function just takes a list of packages. I doubt that find_packages depends on subversion. It doesn't buy you much in any case, as the expected value is simply a list of the packages to include in the distribution. As far as package data, see: http://docs.python.org/distutils/setupscript.html#installing-package-data Jim -- Jim Fulton Zope Corporation
Jim Fulton wrote:
As far as package data, see:
http://docs.python.org/distutils/setupscript.html#installing-package-data
Ah cool... Is package data included in source *and* egg/other distributions? If the answer is "yes", is there an equivalent where the answer is "no, the specified files are only included in the source distro"? ;-) I'm asking as the answer might well be a solution to this question: http://groups.google.com/group/sphinx-dev/browse_thread/thread/903dcbfe04f89... cheers, Chris
Jim Fulton wrote:
IMO, include_package_data is an attractive nuisance. For newer projects, I just use package_data with a few globs.
Does setuptools' setup function support package_data? I've been trying to use it but so far it totally fails to find the files I specify.. Chris
On Jul 1, 2009, at 4:21 AM, Chris Withers wrote:
Jim Fulton wrote:
IMO, include_package_data is an attractive nuisance. For newer projects, I just use package_data with a few globs.
Does setuptools' setup function support package_data? I've been trying to use it but so far it totally fails to find the files I specify..
Yes. Here's a working example: http://svn.zope.org/bobo/trunk/bobodoctestumentation/setup.py?rev=101064&view=auto Jim -- Jim Fulton Zope Corporation
participants (2)
-
Chris Withers
-
Jim Fulton