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 module
On Wed, Mar 27, 2013 at 11:05 PM, Sean Carolan scaro...@gmail.com 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
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
On Wed, Mar 27, 2013 at 12:55 AM, Sean Carolan scaro...@gmail.com 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:
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
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:
On Tue, Mar 26, 2013 at 3:18 PM, Sean Carolan scaro...@gmail.com 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
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/python2.7.
Hi,
On 26 March 2013 16:54, Hugo Arts hugo.yo...@gmail.com wrote:
On Tue, Mar 26, 2013 at 3:18 PM, Sean Carolan scaro...@gmail.com 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
On Tue, Mar 26, 2013 at 11:18 AM, Sean Carolan scaro...@gmail.com 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/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
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=36037,
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
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
general
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 that. I'll
On Wed, Mar 27, 2013 at 7:32 AM, Sean Carolan scaro...@gmail.com 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
On Wed, Mar 27, 2013 at 7:32 AM, Sean Carolan scaro...@gmail.com 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
17 matches
Mail list logo