26.11.17 21:46, wojtek.m...@gmail.com пише:
On Sunday, November 26, 2017 at 1:00:19 AM UTC+1, Terry Reedy wrote:
You must be trying to compile 2.7. There may be Linux distributions
that compile this way.
You're right, I need 2.7. Any hint which distro has got these settings?
UCS-2 is used b
On Sun, 26 Nov 2017, 19:46 , wrote:
> On Sunday, November 26, 2017 at 1:00:19 AM UTC+1, Terry Reedy wrote:
> I have to fix a bug in my C extension that appears only in UCS-2 python
> (i.e. Windows). I can reboot to Windows and debug there, but it's pain
> in a neck for various reasons.
>
In my o
Mody)
On Sunday, November 26, 2017 at 3:43:29 AM UTC+5:30, Chris Angelico wrote:
> On Sun, Nov 26, 2017 at 9:05 AM, wojtek.mula wrote:
> > Hi, my goal is to obtain an interpreter that internally
> > uses UCS-2. Such a simple code should print 65535:
> >
> > import sys
> > print sys.maxunicode
On Sunday, November 26, 2017 at 1:00:19 AM UTC+1, Terry Reedy wrote:
> You must be trying to compile 2.7. There may be Linux distributions
> that compile this way.
You're right, I need 2.7. Any hint which distro has got these settings?
> If you want to seriously work with unicode, many recommend
On Sunday, November 26, 2017 at 3:43:29 AM UTC+5:30, Chris Angelico wrote:
> On Sun, Nov 26, 2017 at 9:05 AM, wojtek.mula wrote:
> > Hi, my goal is to obtain an interpreter that internally
> > uses UCS-2. Such a simple code should print 65535:
> >
> > import sys
> > print sys.maxunicode
> >
>
On 11/25/17 5:05 PM, wojtek.m...@gmail.com wrote:
> Hi, my goal is to obtain an interpreter that internally
> uses UCS-2. Such a simple code should print 65535:
>
>import sys
>print sys.maxunicode
>
> This is enabled in Windows, but I want the same in Linux.
> What options have I pass to th
On 11/25/2017 5:12 PM, Chris Angelico wrote:
> On Sun, Nov 26, 2017 at 9:05 AM, wrote:
>> Hi, my goal is to obtain an interpreter that internally
>> uses UCS-2. Such a simple code should print 65535:
>>
>>import sys
>>print sys.maxunicode
>>
>> This is enabled in Windows, but I want the s
On Sun, Nov 26, 2017 at 10:59 AM, Terry Reedy wrote:
> On 11/25/2017 5:12 PM, Chris Angelico wrote:
>>
>> On Sun, Nov 26, 2017 at 9:05 AM, wrote:
>>>
>>> Hi, my goal is to obtain an interpreter that internally
>>> uses UCS-2. Such a simple code should print 65535:
>>>
>>>import sys
>>>pr
Le dimanche 26 novembre 2017 05:53:55 UTC+1, Rustom Mody a ÄCcritâ :
> On Sunday, November 26, 2017 at 3:43:29 AM UTC+5:30, Chris Angelico wrote:
> > On Sun, Nov 26, 2017 at 9:05 AM, wojtek.mula wrote:
> > > Hi, my goal is to obtain an interpreter that internally
> > > uses UCS-2. Such a simple co
On Sun, Nov 26, 2017 at 9:05 AM, wrote:
> Hi, my goal is to obtain an interpreter that internally
> uses UCS-2. Such a simple code should print 65535:
>
> import sys
> print sys.maxunicode
>
> This is enabled in Windows, but I want the same in Linux.
> What options have I pass to the configur
On Sunday, November 26, 2017 at 1:00:19 AM UTC+1, Terry Reedy wrote:
> You must be trying to compile 2.7. There may be Linux distributions
> that compile this way.
You're right, I need 2.7. Any hint which distro has got these settings?
> If you want to seriously work with unicode, many recommen
Le dimanche 26 novembre 2017 05:53:55 UTC+1, Rustom Mody a ÄCcritâ :
> On Sunday, November 26, 2017 at 3:43:29 AM UTC+5:30, Chris Angelico wrote:
> > On Sun, Nov 26, 2017 at 9:05 AM, wojtek.mula wrote:
> > > Hi, my goal is to obtain an interpreter that internally
> > > uses UCS-2. Such a simple co
26.11.17 01:59, Terry Reedy D¿D,ÑêDµ:
> On 11/25/2017 5:12 PM, Chris Angelico wrote:
>> On Sun, Nov 26, 2017 at 9:05 AM,â wrote:
>>> Hi, my goal is to obtain an interpreter that internally
>>> uses UCS-2. Such a simple code should print 65535:
>>>
>>> â â import sys
>>> â â print sys.maxunicode
On Sun, Nov 26, 2017 at 3:53 PM, Rustom Mody wrote:
> On Sunday, November 26, 2017 at 3:43:29 AM UTC+5:30, Chris Angelico wrote:
>> On Sun, Nov 26, 2017 at 9:05 AM, wojtek.mula wrote:
>> > Hi, my goal is to obtain an interpreter that internally
>> > uses UCS-2. Such a simple code should print 655
On Sunday, November 26, 2017 at 3:43:29 AM UTC+5:30, Chris Angelico wrote:
> On Sun, Nov 26, 2017 at 9:05 AM, wojtek.mula wrote:
> > Hi, my goal is to obtain an interpreter that internally
> > uses UCS-2. Such a simple code should print 65535:
> >
> > import sys
> > print sys.maxunicode
> >
>
On 11/25/17 5:05 PM, wojtek.m...@gmail.com wrote:
> Hi, my goal is to obtain an interpreter that internally
> uses UCS-2. Such a simple code should print 65535:
>
>import sys
>print sys.maxunicode
>
> This is enabled in Windows, but I want the same in Linux.
> What options have I pass to th
On Sun, Nov 26, 2017 at 10:59 AM, Terry Reedy wrote:
> On 11/25/2017 5:12 PM, Chris Angelico wrote:
>>
>> On Sun, Nov 26, 2017 at 9:05 AM, wrote:
>>>
>>> Hi, my goal is to obtain an interpreter that internally
>>> uses UCS-2. Such a simple code should print 65535:
>>>
>>>import sys
>>>pr
On 11/25/2017 5:12 PM, Chris Angelico wrote:
> On Sun, Nov 26, 2017 at 9:05 AM, wrote:
>> Hi, my goal is to obtain an interpreter that internally
>> uses UCS-2. Such a simple code should print 65535:
>>
>>import sys
>>print sys.maxunicode
>>
>> This is enabled in Windows, but I want the s
On Sun, Nov 26, 2017 at 9:05 AM, wrote:
> Hi, my goal is to obtain an interpreter that internally
> uses UCS-2. Such a simple code should print 65535:
>
> import sys
> print sys.maxunicode
>
> This is enabled in Windows, but I want the same in Linux.
> What options have I pass to the configur
26.11.17 01:59, Terry Reedy пише:
On 11/25/2017 5:12 PM, Chris Angelico wrote:
On Sun, Nov 26, 2017 at 9:05 AM, wrote:
Hi, my goal is to obtain an interpreter that internally
uses UCS-2. Such a simple code should print 65535:
import sys
print sys.maxunicode
This is enabled in Windows,
On Sun, Nov 26, 2017 at 3:53 PM, Rustom Mody wrote:
> On Sunday, November 26, 2017 at 3:43:29 AM UTC+5:30, Chris Angelico wrote:
>> On Sun, Nov 26, 2017 at 9:05 AM, wojtek.mula wrote:
>> > Hi, my goal is to obtain an interpreter that internally
>> > uses UCS-2. Such a simple code should print 655
On Sunday, November 26, 2017 at 3:43:29 AM UTC+5:30, Chris Angelico wrote:
> On Sun, Nov 26, 2017 at 9:05 AM, wojtek.mula wrote:
> > Hi, my goal is to obtain an interpreter that internally
> > uses UCS-2. Such a simple code should print 65535:
> >
> > import sys
> > print sys.maxunicode
> >
>
On 11/25/17 5:05 PM, wojtek.m...@gmail.com wrote:
Hi, my goal is to obtain an interpreter that internally
uses UCS-2. Such a simple code should print 65535:
import sys
print sys.maxunicode
This is enabled in Windows, but I want the same in Linux.
What options have I pass to the configure
On Sun, Nov 26, 2017 at 10:59 AM, Terry Reedy wrote:
> On 11/25/2017 5:12 PM, Chris Angelico wrote:
>>
>> On Sun, Nov 26, 2017 at 9:05 AM, wrote:
>>>
>>> Hi, my goal is to obtain an interpreter that internally
>>> uses UCS-2. Such a simple code should print 65535:
>>>
>>>import sys
>>>pr
On 11/25/2017 5:12 PM, Chris Angelico wrote:
On Sun, Nov 26, 2017 at 9:05 AM, wrote:
Hi, my goal is to obtain an interpreter that internally
uses UCS-2. Such a simple code should print 65535:
import sys
print sys.maxunicode
This is enabled in Windows, but I want the same in Linux.
What
On Sun, Nov 26, 2017 at 9:05 AM, wrote:
> Hi, my goal is to obtain an interpreter that internally
> uses UCS-2. Such a simple code should print 65535:
>
> import sys
> print sys.maxunicode
>
> This is enabled in Windows, but I want the same in Linux.
> What options have I pass to the configur
sudo apt-get install libbz2-dev
Python-3.4.1$ ./configure --with-pydebug --with-bz2 --prefix=/usr && make -j2
On Saturday, 22 December 2012 17:06:51 UTC+1, Benjamin Kaplan wrote:
> On Dec 21, 2012 1:31 AM, "Isml" <7606...@qq.com> wrote:
>
> >
>
> > hi, everyone:
>
> > I want to compile py
On Dec 21, 2012 1:31 AM, "Isml" <76069...@qq.com> wrote:
>
> hi, everyone:
> I want to compile python 3.3 with bz2 support on RedHat 5.5 but fail
to do that. Here is how I do it:
> 1. download bzip2 and compile it(make、make -f Makefile_libbz2_so、make
install)
> 2.chang to python 3.3 sou
On Thursday, December 20, 2012 10:27:54 PM UTC-8, Isml wrote:
> I want to compile python 3.3 with bz2 support on RedHat 5.5 but fail to
> do that. Here is how I do it:
> 1. download bzip2 and compile it(make、make -f Makefile_libbz2_so、make
> install)
Why can't you use yum? (yum install li
On Fri, Dec 21, 2012 at 5:35 PM, Isml <76069...@qq.com> wrote:
> By the way, RedHat 5.5 has a built-in python 2.4.3. Would it be a problem?
You may want to consider using 'make altinstall' rather than 'make
install'. That way, you don't stomp all over the system Python (so
system scripts that expe
On Friday, 21 December 2012 12:05:57 UTC+5:30, Isml wrote:
> hi, everyone:
> I want to compile python 3.3 with bz2 support on RedHat 5.5 but fail to
> do that. Here is how I do it:
> 1、download bzip2 and compile it(make、make -f Makefile_libbz2_so、make
> install)
> 2、chang to python 3
Also, and sometimes google does kind of fail you, but straight from your
question, I just type in this section of what you wrote:
'Python code that I would like to compile into a dll'
Yours comes up as well within that search,but so do quite a few others
related to it.
>
>
--
Best Regards,
Da
Thank you all for your help. I'm going to try Cython.
Regards
Rolf
On 10/09/12 14:15, Rolf Wester wrote:
Hi,
I have Python code that I would like to compile into a dll (I have to
deliver a C/C++ callable dll and I don't want to reimpelement the Python
code in C/C++). It's not for extending Py
On 9/10/2012 8:15 AM, Rolf Wester wrote:
I have Python code that I would like to compile into a dll (I have to
deliver a C/C++ callable dll and I don't want to reimpelement the Python
code in C/C++). It's not for extending Python but I want to call the
Python functions and classes from C/C++. It
> I have Python code that I would like to compile into a dll (I have to
See http://docs.python.org/extending/embedding.html. You can pack your code in
a zip file and load it from the DLL entry point (something like what py2exe
does).
See also the Freeze tool - http://wiki.python.org/moin/Freeze
On Monday, 10 September 2012 17:45:11 UTC+5:30, Rolf Wester wrote:
> Hi,
>
>
>
> I have Python code that I would like to compile into a dll (I have to
>
> deliver a C/C++ callable dll and I don't want to reimpelement the Python
>
> code in C/C++). It's not for extending Python but I want to
Excerpts from victor lucio's message of Sun Jun 26 02:01:27 -0400 2011:
> Hi
>
> I would like to know how to compile the python core.
> I am going to remove some modules of it to have a thin python.
>
> Where could I find further information about it?
>
I'm guessing you're going to want to go t
Hi Stefan,
Well, the idea is similar to package tools like pyinstaller or
cx_freeze. There approach is slightly different then what I intend to
do here.
You have to pass the name of the script to python executable("python
main.py") in order to execute it. What I mean here is to create python
exec
King, 20.07.2010 18:45:
I have created a simple tool(python script) that creates a self
sufficient package ready for deployment. Current implementation is
based on shell scripting to set environment for the app and finally
execute "python main.py".
I am planning to convert "main.py" into an exec
Joana wrote:
> I mantain Python on Windows, all installed packages are under c:
> \Python25\Lib\site-packages. Now I have to build C libraries used by
> python extensions and I am using cygwin, but I don't know how to
> install the module in Windows directory.
I have used MingW to do this. Might
On May 25, 9:42 am, David Lyon wrote:
> On Sun, 24 May 2009 15:34:42 -0700 (PDT), Joana
> wrote:
>
> > I mantain Python on Windows, all installed packages are under c:
> > \Python25\Lib\site-packages. Now I have to build C libraries used by
> > python extensions and I am using cygwin, but I don't
Joana wrote
> hmm.. but the problem with mingw32 is that it does not have the
> libraries I need. The module I want to install includes netinet/in.h.
> So the answer is that I can't install that module in Windows?
What's the name of the package? Perhaps it doesn't work on Windows. Or
it hasn't bee
On Sun, 24 May 2009 15:34:42 -0700 (PDT), Joana
wrote:
> I mantain Python on Windows, all installed packages are under c:
> \Python25\Lib\site-packages. Now I have to build C libraries used by
> python extensions and I am using cygwin, but I don't know how to
> install the module in Windows direct
On 25 Maio, 00:13, Christian Heimes wrote:
> Joana wrote:
> > I mantain Python on Windows, all installed packages are under c:
> > \Python25\Lib\site-packages. Now I have to build C libraries used by
> > python extensions and I am using cygwin, but I don't know how to
> > install the module in Win
Joana wrote:
> I mantain Python on Windows, all installed packages are under c:
> \Python25\Lib\site-packages. Now I have to build C libraries used by
> python extensions and I am using cygwin, but I don't know how to
> install the module in Windows directory.
Are you sure you want to use Cygwin?
iwinux <[EMAIL PROTECTED]> writes:
> To build python with mingw, there is a common way.
> First you should install msys, which can be downloaded from mingw's website.
> Run msys and type 'cd /path/to/source'.
> Then type "./configure & make & make install".
> And you will get a python built with m
Steve Holden wrote:
> You are wrong about the compatibility. You can't compile a library with
> VC 2005 and run it with a Python compiled with VC 2003.
OK, my bad - sorry about that red herring.
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] 写道:
> Hi all,
>
>
> I was trying to build pymol with mingw on my windows box, but during the
> compilation it said that my python.exe was built with VS2003, and in
> order to build compatible binary executable file, I have to build pymol
> with VS2003. I don't have VS2003, so I
Ninereeds wrote:
> [EMAIL PROTECTED] wrote:
>
>> I don't have VS2003, so I think I may compile both pymol
>> and python with mingw.
>
> Sorry I can't help with mingw, but Microsoft has released a free
> version of VC2005, which should be binary compatible with VC2003, I'd
> have thought. Of cours
[EMAIL PROTECTED] wrote:
> I don't have VS2003, so I think I may compile both pymol
> and python with mingw.
Sorry I can't help with mingw, but Microsoft has released a free
version of VC2005, which should be binary compatible with VC2003, I'd
have thought. Of course that means going through the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nader Emami wrote:
> L.S.,
>
> I have to compile (install) locally Python 2.5, because I don't have
> 'root' permission. Besides I would use 'sqlite3' as a database for
> TurboGears/Django. I have installed 'sqlite3' somewhere on my Linux
> (/path/to/s
Martin v. Löwis wrote:
> [EMAIL PROTECTED] schrieb:
> > I am trying to compile py2.4.3/2.5 on a Solaris 10x86 machine, but
> > cannot get it to build an SSL enabled version. I have added the
> > relevant sfw directories into the path/crle, with no success. I've
> > even explicitly added ssl via
[EMAIL PROTECTED] schrieb:
> I am trying to compile py2.4.3/2.5 on a Solaris 10x86 machine, but
> cannot get it to build an SSL enabled version. I have added the
> relevant sfw directories into the path/crle, with no success. I've
> even explicitly added ssl via the --with-libs directive, yet an
Martijn de Munnik schrieb:
> anybody succesfully compiled python on solaris?
If that's really all you want to know: yes, I did.
It works for me on 32-bit SPARC, and 64-bit SPARC.
If you want to know more, you have to be *a lot*
more precise as to what precisely you are trying
to achieve, and how
I did build Python 2.5 on a Solaris 10 Ultra 20 machine (Opteron) but
using the SUN compilers. Two changes were needed in the Makefile:
CXX=CC and CCSHARED=-KPIC.
There are a few issues which I have not investigated further (like Tcl
and ffitarget.h), but the tests pass except for 3 unexpected sk
Il Thu, 12 Oct 2006 16:46:19 +0200 (CEST), Martijn de Munnik ha scritto:
> Hi,
>
> I want to compile python on my solaris 10 system (amd 64 bit).
Just a question... AFAIK, Solaris 10 64 bit includes binaries & kernels for
both 64 bit and 32 bit machines. Which binaries are you actually using? I
Martijn de Munnik wrote:
> Hi,
>
> I want to compile python on my solaris 10 system (amd 64 bit).
>
> I did the following:
>
> ./configure --prefix=/opt/64/python
> make
>
> which resulted in this error:
> "Include/pyport.h", line 730: #error: "LONG_BIT definition appears wrong
> for platform (bad
Hello Zoidberg,
> How would one compile python with Visual Studio 2005?
By reading the section "Building on non-UNIX systems" in the README
file (hint: chceck out the "PC" directory)
Miki
http://pythonwise.blogspot.com/
--
http://mail.python.org/mailman/listinfo/python-list
[mg]
> My problem is here : all the source files are compiled with the -g
> flag which might be the debug flag. (On the other hand, the option
> -DNDEBUG is defined : it's normal !) Then my question is : Is exist
> a flag/option to run the shell script named 'configure' allowing to
> remove the '-
sam wrote:
Peter Hansen wrote:
After all, source code is stored in binary too...
Sorry for the vagues terms. I meant compile a python script into a
binary program.
As I said, "binary" is a very ambiguous term, so your
clarification by itself wouldn't have helped. (That is,
while the defined meani
Daniel Bickett wrote:
>> oh, you mean that "python compiler" didn't mean "the python compiler".
>> [snip]
>
> I simply inferred that he was using the wrong terminology, being that
> he said "binary" twice ;-)
yeah, but PYC files (which is what the standard compiler produces) are binary
files too,
Doug Holton <[EMAIL PROTECTED]> wrote:
...
> > oh, you mean that "python compiler" didn't mean "the python compiler".
>
> I wouldn't assume a novice uses terms the same way you would. It was
> quite clear from his message that py2exe and the like were what he was
> referring to, if you had rea
Peter Hansen wrote:
Daniel Bickett wrote:
Fredrik Lundh wrote:
oh, you mean that "python compiler" didn't mean "the python compiler".
[snip]
I simply inferred that he was using the wrong terminology, being that
he said "binary" twice ;-)
While I suspect you've guessed correctly at what the OP
mea
Fredrik Lundh wrote:
Daniel Bickett wrote:
I believe Sam was talking about "frozen" python scripts using tools
such as py2exe:
oh, you mean that "python compiler" didn't mean "the python compiler".
here are links to some more tools, btw:
http://effbot.org/zone/python-compile.htm
Thanks for th
Daniel Bickett wrote:
Fredrik Lundh wrote:
oh, you mean that "python compiler" didn't mean "the python compiler".
[snip]
I simply inferred that he was using the wrong terminology, being that
he said "binary" twice ;-)
While I suspect you've guessed correctly at what the OP
meant, one should also co
Fredrik Lundh wrote:
Daniel Bickett wrote:
I believe Sam was talking about "frozen" python scripts using tools
such as py2exe:
oh, you mean that "python compiler" didn't mean "the python compiler".
I wouldn't assume a novice uses terms the same way you would. It was
quite clear from his message
Daniel Bickett wrote:
> I believe Sam was talking about "frozen" python scripts using tools
> such as py2exe:
oh, you mean that "python compiler" didn't mean "the python compiler".
here are links to some more tools, btw:
http://effbot.org/zone/python-compile.htm
--
http://mail.python
Fredrik Lundh wrote:
> oh, you mean that "python compiler" didn't mean "the python compiler".
> [snip]
I simply inferred that he was using the wrong terminology, being that
he said "binary" twice ;-)
sam wrote:
> I have seen some software written in python and delivered as binary form.
>
> How do
Fredrik Lundh wrote:
> see section 6.1.2 in the tutorial:
> [snip]
I believe Sam was talking about "frozen" python scripts using tools
such as py2exe:
http://starship.python.net/crew/theller/py2exe/
As to how the actual process works, I'm not qualified to answer
(having only read an article in t
"sam" <[EMAIL PROTECTED]> wrote:
> I have seen some software written in python and delivered as binary form.
>
> How does these binary code get generated by python compiler?
see section 6.1.2 in the tutorial:
http://docs.python.org/tut/node8.html
--
http://mail.python.org/mailman/list
70 matches
Mail list logo