[issue5482] RFC: improve distutils bdist_rpm so it builds pure python modules as single packages that works across architectures

2009-04-07 Thread Rudd-O
Rudd-O added the comment: I saw your talk. Excellent. Let's make sysadmins and release managers happy while keeping the excellent buildout infrastructure for developers. I KNOW we can do it, and I'm going to help you get there. And maybe next year we both can do a talk about it

[issue5482] RFC: improve distutils bdist_rpm so it builds pure python modules as single packages that works across architectures

2009-04-05 Thread Rudd-O
Rudd-O added the comment: Excellent. El Domingo 05 Abril 2009, =?utf-8?q?tarek_ziad=c3=a9_=3creport=40bugs=2epython=2eorg=3...@psf.upfronthosting.co.za escribió: > Tarek Ziadé added the comment: > > Rudd-O, I am trying to see if we can build a team of people that could > wo

[issue5474] distutils produces invalid RPM packages of prerelease python packages

2009-03-19 Thread Rudd-O
Rudd-O added the comment: about python trunk... gimme some time to port them incrementally to all popular stable pythons first, then to trunk. will be glad to do this. Now, by trunk, do you mean python 3.x? -- ___ Python tracker <h

[issue5482] RFC: improve distutils bdist_rpm so it builds pure python modules as single packages that works across architectures

2009-03-19 Thread Rudd-O
Rudd-O added the comment: about python trunk... gimme some time to port them incrementally to all popular stable pythons first, then to trunk. will be glad to do this. Now, by trunk, do you mean python 3.x? -- ___ Python tracker <h

[issue5482] RFC: improve distutils bdist_rpm so it builds pure python modules as single packages that works across architectures

2009-03-19 Thread Rudd-O
Rudd-O added the comment: patch does what others did, plus this time it lets the specfile autodiscover the python abi so the name is correct regardless of against whichever python interpreter the package is built. -- Added file: http://bugs.python.org/file13381/python-2.4-distutils

[issue5482] RFC: improve distutils bdist_rpm so it builds pure python modules as single packages that works across architectures

2009-03-18 Thread Rudd-O
Rudd-O added the comment: Improved version of the autonaming patch, now makes rpmbuild accept files that were installed with spaces on their names. -- Added file: http://bugs.python.org/file13372/python-2.4-distutils-bdist_rpm-autonames+optimize-v2.patch

[issue5482] RFC: improve distutils bdist_rpm so it builds pure python modules as single packages that works across architectures

2009-03-18 Thread Rudd-O
Rudd-O added the comment: ahaha! I have the patch that implements this functionality. 1) it renames the RPM package name to python-%packagename-py2.4 and and its requirements as well. 2) it autooptimizes (-O1) any RPM built if no optimization has been configured in setup.cfg, so it works with

[issue5474] distutils produces invalid RPM packages of prerelease python packages

2009-03-17 Thread Rudd-O
Rudd-O added the comment: I am considering some changes in the auto-dependency part of the patch. Keep tuned. -- ___ Python tracker <http://bugs.python.org/issue5

[issue5482] RFC: improve distutils bdist_rpm so it builds pure python modules as single packages that works across architectures

2009-03-14 Thread Rudd-O
Rudd-O added the comment: Apropos this bug, the issues are fleshed out here: http://rudd-o.com/new-projects/python-improvements/how-to-slash-man-years-from-the-process-of-building-rpms-out-of-python-modules -- ___ Python tracker <h

[issue5482] RFC: improve distutils bdist_rpm so it builds pure python modules as single packages that works across architectures

2009-03-14 Thread Rudd-O
Rudd-O added the comment: FYI: In RPM, the correct dependency to require a particulr python minor version is: python(abi) = 2.X where X is the minor version. -- ___ Python tracker <http://bugs.python.org/issue5

[issue5482] RFC: improve distutils bdist_rpm so it builds pure python modules as single packages that works across architectures

2009-03-14 Thread Rudd-O
Rudd-O added the comment: last comment, first line, I should amend it to say that even in 64bit arches, the /usr/lib (NOT ilb64) sitepackages dir is available. I would have to actually try this on the packages that I have, see how i fare

[issue5482] RFC: improve distutils bdist_rpm so it builds pure python modules as single packages that works across architectures

2009-03-14 Thread Rudd-O
Rudd-O added the comment: apparently, /usr/lib/python2.4/site-packages IS in the sys.path, which would seem to indicate that python would actually load pure python modules from there. Which means that the only fixes that need to go within distutils would be: 1. a fix so in 64bit arches, pure

[issue5482] RFC: improve distutils bdist_rpm so it builds pure python modules as single packages that works across architectures

2009-03-14 Thread Rudd-O
Rudd-O added the comment: More info: >From my wicked noarch RPM compiled in an i386 machine, installed into my 64 bit centos (same OS): [rud...@tobey ~]$ python Python 2.4.5 (#1, Mar 13 2009, 12:13:36) [GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2 Type "help", "copyri

[issue5474] distutils produces invalid RPM packages of prerelease python packages

2009-03-13 Thread Rudd-O
Rudd-O added the comment: brown paper bug in the last lexic patch -- Added file: http://bugs.python.org/file13316/python-2.4-distutils-bdist_rpm-rpmversion-lexicalorder.patch ___ Python tracker <http://bugs.python.org/issue5

[issue5482] RFC: improve distutils bdist_rpm so it builds pure python modules as single packages that works across architectures

2009-03-13 Thread Rudd-O
New submission from Rudd-O : Hello, guys. I am looking for feedback on the topic which I am going to lay out. First, sys.path: --- # python2.4 >>> import sys >>> sys.path ['', '/home/rudd-o', '/usr/lib64/python24.zip', '/us

[issue5474] distutils produces invalid RPM packages of prerelease python packages

2009-03-13 Thread Rudd-O
Rudd-O added the comment: This patch autodetects dependencies based on the earlier patch and egg metadata, if setuptools is importable. -- Added file: http://bugs.python.org/file13314/python-2.4-distutils-bdist_rpm-autodeps.patch ___ Python tracker

[issue5474] distutils produces invalid RPM packages of prerelease python packages

2009-03-12 Thread Rudd-O
Rudd-O added the comment: A better patch -- Added file: http://bugs.python.org/file13313/python-2.4-distutils-bdist_rpm-rpmversion-lexicalorder.patch ___ Python tracker <http://bugs.python.org/issue5

[issue5474] distutils produces invalid RPM packages of prerelease python packages

2009-03-11 Thread Rudd-O
Rudd-O added the comment: the newest svnversions patch is to handle the case of people who want to build svn checkouts (usually versionnumbered by dev or dev-rXXXYYZZ). it overrides the release to be zero so they never upgrade alpha, beta packages. -- Added file: http

[issue5474] distutils produces invalid RPM packages of prerelease python packages

2009-03-10 Thread Rudd-O
Changes by Rudd-O : Added file: http://bugs.python.org/file13301/python-2.4-distutils-bdist-rpm.patch (prerequisite for the patch I wrote which is the prereleaseversion.patch) ___ Python tracker <http://bugs.python.org/issue5

[issue5474] distutils produces invalid RPM packages of prerelease python packages

2009-03-10 Thread Rudd-O
Rudd-O added the comment: Heads up: The fix requires a patch (distributed with the python 2.4.x RPM in CentOS) to be applied first. I am attaching said patch so you can apply the fix. -- ___ Python tracker <http://bugs.python.org/issue5

[issue5474] distutils produces invalid RPM packages of prerelease python packages

2009-03-10 Thread Rudd-O
New submission from Rudd-O : Description of problem: Building pre-release python distutils packages with python setup.py bdist_rpm works, but the version number is "RPM-higher" than the official release package that is released later. This constitutes a problem because many of the