Re: [python-uk] Packaging advice for ujson / rpm / RHEL5

2013-01-28 Thread Nicholas H.Tollervey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wow, what a great set of answers. Thanks guys..! N. On 28/01/13 09:01, Nicholas H.Tollervey wrote: > Hi, > > I need to build an RPM of ujson for RHEL5 targeting Python2.6. > This will be deployed on "front end" boxes that do not have a > compiler in

Re: [python-uk] Packaging advice for ujson / rpm / RHEL5

2013-01-28 Thread John Pinner
Hi, On 28 January 2013 10:39, wrote: > Opensuse provides a nice build service for open source projects: > https://build.opensuse.org/ > > They provide a CI (continuous integration) support for all the > "enterprise" stuff > distro. > It's worth mentioning that this is *not* confined to SUSE pro

Re: [python-uk] Packaging advice for ujson / rpm / RHEL5

2013-01-28 Thread a.cavallo
Opensuse provides a nice build service for open source projects: https://build.opensuse.org/ They provide a CI (continuous integration) support for all the "enterprise" stuff distro. I maintain an /opt based python of latest mercurial code and it is particularly effective. I hope this helps.

Re: [python-uk] Packaging advice for ujson / rpm / RHEL5

2013-01-28 Thread John Pinner
Hi, On 28 January 2013 09:01, Nicholas H.Tollervey wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > I need to build an RPM of ujson for RHEL5 targeting Python2.6. This > will be deployed on "front end" boxes that do not have a compiler > installed (hence I can't just pip inst

Re: [python-uk] Packaging advice for ujson / rpm / RHEL5

2013-01-28 Thread Nicholas H.Tollervey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aha... many thanks for the help. Ross, your suggestion was exactly what I needed. Funnily enough I'd tried to look in help (python2.6 setup.py --help) but had obviously failed to do so for bdist_rpm. Thanks! N. On 28/01/13 09:32, Antonio Cavallo wr

Re: [python-uk] Packaging advice for ujson / rpm / RHEL5

2013-01-28 Thread Antonio Cavallo
Hi, have a look to : http://cclimited.webfactional.com/make_your_module/spec.creator.pyquality.html If you strip off the %define opt_python and %define _prefix you'll have a multi platform rpm spec file (and the blue bit have to be changed). Let me know if that helps you. René Dudfield

Re: [python-uk] Packaging advice for ujson / rpm / RHEL5

2013-01-28 Thread René Dudfield
Try exporting compilation environment variables. Like CC LD_LIBRARY_FLAGS etc. Google them :) On Jan 28, 2013 10:04 AM, "Nicholas H.Tollervey" wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > I need to build an RPM of ujson for RHEL5 targeting Python2.6. This > will be deploye

Re: [python-uk] Packaging advice for ujson / rpm / RHEL5

2013-01-28 Thread Ross Lawley
Hi Nicholas, Theres a --fix-python flag which might be right for you; see setup.py bdist_rpm --help Ross On Mon, Jan 28, 2013 at 9:01 AM, Nicholas H.Tollervey wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > I need to build an RPM of ujson for RHEL5 targeting Python2.6. Thi

[python-uk] Packaging advice for ujson / rpm / RHEL5

2013-01-28 Thread Nicholas H.Tollervey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I need to build an RPM of ujson for RHEL5 targeting Python2.6. This will be deployed on "front end" boxes that do not have a compiler installed (hence I can't just pip install the damn thing). All the RHEL5 machines have Python 2.4, 2.5 and 2.6 i