On Wed, Mar 27, 2013 at 11:05 PM, Sean Carolan wrote:
>
>> But, where did you get the idea that you could build Python RPMs using
>> $python setup.py bdist_rpm ? I thought that was only limited to
>> building RPMs for python packages (including extensions), but not the
>> Python interpreter itself
> But, where did you get the idea that you could build Python RPMs using
> $python setup.py bdist_rpm ? I thought that was only limited to
> building RPMs for python packages (including extensions), but not the
> Python interpreter itself. Please correct me if i am wrong.
>
Ok, so it's only for mo
On Wed, Mar 27, 2013 at 7:32 AM, Sean Carolan wrote:
>
>> Given that most folks on this list are only learning Python its pretty
>> unlikely that they are building bespoke RPMs...
>>
>> You might find more experience of RPM building on the general Python
>> mailing list/newsgroup.
>
>
> Sorry 'bou
On Wed, Mar 27, 2013 at 7:32 AM, Sean Carolan wrote:
>
>> Given that most folks on this list are only learning Python its pretty
>> unlikely that they are building bespoke RPMs...
>>
>> You might find more experience of RPM building on the general Python
>> mailing list/newsgroup.
>
>
> Sorry 'bou
Sean Carolan wrote:
> [Alan Gauld wrote:]
> > Given that most folks on this list are only learning Python its pretty
> > unlikely that they are building
> > bespoke RPMs...
> >
> > You might find more experience of RPM building on the general Python
> > mailing list/newsgroup.
>
> Sorry 'bout t
> Given that most folks on this list are only learning Python its pretty
> unlikely that they are building bespoke RPMs...
>
> You might find more experience of RPM building on the general Python
> mailing list/newsgroup.
Sorry 'bout that. I'll follow up with the bug report and possibly the
gene
On 26/03/13 19:04, Sean Carolan wrote:
Has anyone on this list successfully built a python 2.7 RPM using this
command?
python2.7 setup.py bdist_rpm
Given that most folks on this list are only learning Python its pretty
unlikely that they are building bespoke RPMs...
You might find more expe
> If so, what was your secret?
>
>
I tried running this again with strace, and it looks like it's finding the
pyconfig.h file:
open("/usr/local/include/python2.7/pyconfig.h", O_RDONLY) = 4
read(4, "/* pyconfig.h. Generated from p"..., 4096) = 4096
stat("pyconfig.h", {st_mode=S_IFREG|0664, st_size
>
> http://hg.python.org/cpython/file/d321885ff8f3/Lib/distutils/command/bdist_rpm.py#l23
>
No dice.
[scarolan@titania:~/Python-2.7.3]$ alias | grep python
alias python='/usr/local/bin/python2.7'
[scarolan@titania:~/Python-2.7.3]$ /usr/local/bin/python2.7 setup.py
bdist_rpm
error: pyconfig.h: No
On Tue, Mar 26, 2013 at 11:18 AM, Sean Carolan wrote:
> I've tried it with python24, python25 and python27 and all of them give the
> same error.
After looking at the source, I think the option python=python2.7 may
solve the problem.
http://hg.python.org/cpython/file/d321885ff8f3/Lib/distutils/c
Hi,
On 26 March 2013 16:54, Hugo Arts wrote:
> On Tue, Mar 26, 2013 at 3:18 PM, Sean Carolan wrote:
>
>>
>> Could it be that it is taking the system python executable which is
>>> probably 2.4?
>>>
>>> -Amit.
>>
>>
>> I've tried it with python24, python25 and python27 and all of them give
>>
> What it looks like to me is that while you run (using python 2.7):
>
> > python27 setup.py bdist_rpm
>
> doing that generates a temporary bash script, which in turn runs:
>
> > python setup.py build
>
Yea, I checked this, and /usr/local/bin/python is just a symlink pointing
at /usr/local/bin/py
On Tue, Mar 26, 2013 at 3:18 PM, Sean Carolan wrote:
>
> Could it be that it is taking the system python executable which is
>> probably 2.4?
>>
>> -Amit.
>
>
> I've tried it with python24, python25 and python27 and all of them give
> the same error.
>
>
What it looks like to me is that while yo
Ok, so I'm now attempting a "clean room" installation using Python 2.7.3 to
build the RPM. Here's my installation command:
./configure --with-zlib=/usr/include; make; sudo make install
But the bdist_rpm setup command fails:
[scarolan@titania:~/Python-2.7.3]$ python2.7 setup.py bdist_rpm
error:
> Could it be that it is taking the system python executable which is
> probably 2.4?
>
> -Amit.
I've tried it with python24, python25 and python27 and all of them give the
same error.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change sub
On Wed, Mar 27, 2013 at 12:55 AM, Sean Carolan wrote:
> I'm attempting to use setup.py to build an RPM, but ran into this error:
>
> [scarolan@cobbler:~/rpmbuild/BUILD/Python-2.7.3]$ python27 setup.py
> bdist_rpm
>
> File "setup.py", line 361
> with open(tmpfile) as fp:
> ^
> Syn
I'm attempting to use setup.py to build an RPM, but ran into this error:
[scarolan@cobbler:~/rpmbuild/BUILD/Python-2.7.3]$ python27 setup.py
bdist_rpm
File "setup.py", line 361
with open(tmpfile) as fp:
^
SyntaxError: invalid syntax
error: Bad exit status from /var/tmp/rpm-tmp.8
17 matches
Mail list logo