on ubuntu, sudo apt-get build-dep python2.7
Charlie Meyer Department of Computer Science University of Illinois at Urbana-Champaign MC/258 201 N. Goodwin Ave Urbana, IL 61801 [email protected] http://www.charliemeyer.net On Tue, Jun 12, 2012 at 10:09 PM, Mariano Mara <[email protected]>wrote: > Quoting Mike Orr (2012-06-12 22:49:36) > > On Tue, Jun 12, 2012 at 3:36 PM, Wade Leftwich <[email protected]> > wrote: > > > With the Pyramid docs in ebook form on my phone I tend to browse them > > > at odd times. Today, standing in line at the post office, I stopped at > > > this paragraph right near the beginning: > > > """ > > > It’s useful to use a Python interpreter that isn’t the “system” Python > > > interpreter to develop your software. The authors of Pyramid tend not > > > to use the system Python for development purposes; always a self- > > > compiled one. Compiling Python is usually easy, and often the “system” > > > Python is compiled with options that aren’t optimal for web > > > development. > > > """ > > > ... and wondered what the best compilation options for web development > > > might be. I generally use whatever comes with Ubuntu, which seems to > > > work OK. Does anyone have config tips to share? > > > > Where does it say this? I've never heard of it. I always use the > > system Python if it's the right version, but with a virtualenv. > > > > However, it's correct that compiling Python is easy, (except on > > Windows where a compiler doesn't come with the OS). For Ubuntu: > > > > $ sudo apt-get install build-essential > > $ cd Python-2.7 > > $ ./configure --prefix=/usr/local/bin > > $ make > > $ make install > > > > But I don't know what nonstandard options would be "better for web > development". > > > > Just a little recommendation that I can _barely_ recall it gave me trouble > in > the past: verify that you have the developer headers for sqlite3 and zlib, > otherwise you won't have access to sqlite and, regarding zlib, some third > party > library might complain (such as PIL) while compiling. > > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
