[Python-Dev] Python Mobile-sig

2015-02-04 Thread Jeff Hardy
There is now a Python SIG dedicated to running Python on mobile
devices. Sign up for the [email protected] mailing list and find
out more at [1].

The Mobile-SIG exists to improve the usability of Python on mobile
devices, as mobile platforms have their own unique requirements and
constraints.

There are two goals:
* To collaborate on porting CPython to mobile platforms and ensure
that other Python implementations (i.e. Jython, IronPython) present
much the same environment as CPython when running on mobile devices.
* To collaborate on the design of modules for mobile-centric features
such as cameras, GPS, accelerometers, and other sensors to ensure
cross-platform and cross-implementation compatibility.

The intent is to work on mobile-centric features in this group before
proposal to python-dev, similar to how the distutils-sig operates.

- Jeff

[1] https://www.python.org/community/sigs/current/mobile-sig/
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] Why does pip upgrade to a random version?

2015-02-04 Thread Martin Thoma
Could somebody please have a look at the following SO question? It seems as
if I might have found a bug in pip:
http://stackoverflow.com/q/28282671/562769

TL;DR of the SO question:
I executed `$ sudo pip install hwrt --upgrade` mutiple times and got a -
seemingly random - version of hwrt installed.

Best regards,
Martin
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] Hi, I am new to this board and have a question

2015-02-04 Thread Jianhua Zhou
Hi Everyone,

I am a core software engineer at Rocket Software Inc. I am working on database 
system called UniData and Universe.

Now we plan to introduce Python as the new programming language to our 
customer. When I try to build the python 3.4.1 on Red Hat Linux platform. I 
found some problem and need help.

After I run configure and make the python, at the very end, it said some 
optional modules we missing,

Python build finished successfully!
The necessary bits to build these optional modules were not found:
_bz2  _lzma _ssl
_tkinter  zlib

So, I went to python development guide site and found out I have to download 
some other source to build the optional modules.
Since I am on RH Linux and yum is installed on my Linux box, so I run following 
command

#  yum install yum-utils
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use 
subscription-manager to register.
WANdisco |  951 B 00:00
WANdisco/primary |  94 kB 00:00
WANdisco450/450
my_repo  | 3.9 kB 00:00 ...
Setting up Install Process
Package yum-utils-1.1.30-14.el6.noarch already installed and latest version
Nothing to do

Looks like yum-utils is already installed. Then
#  yum-builddep python3
Loaded plugins: product-id, refresh-packagekit
No such package(s): python3

So what package name should I gave to download the additional source to build 
the optional module?

Thanks!

Jianhua Zhou





Rocket Software, Inc. and subsidiaries ? 77 Fourth Avenue, Waltham MA 02451 ? 
+1 800.966.3270 ? +1 781.577.4321
Unsubscribe From Commercial Email - [email protected]
Manage Your Subscription Preferences - 
http://info.rocketsoftware.com/GlobalSubscriptionManagementEmailFooter_SubscriptionCenter.html
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy


This communication and any attachments may contain confidential information of 
Rocket Software, Inc. All unauthorized use, disclosure or distribution is 
prohibited. If you are not the intended recipient, please notify Rocket 
Software immediately and destroy all copies of this communication. Thank you.
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Why does pip upgrade to a random version?

2015-02-04 Thread Jeremy Dunck
Does this happen with other packages?  I wonder if perhaps the issue is
with the package itself.


On Wed, Feb 4, 2015 at 11:04 AM, Martin Thoma  wrote:

> Could somebody please have a look at the following SO question? It seems
> as if I might have found a bug in pip:
> http://stackoverflow.com/q/28282671/562769
>
> TL;DR of the SO question:
> I executed `$ sudo pip install hwrt --upgrade` mutiple times and got a -
> seemingly random - version of hwrt installed.
>
> Best regards,
> Martin
>
> ___
> Python-Dev mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/jdunck%40gmail.com
>
>
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Hi, I am new to this board and have a question

2015-02-04 Thread Cameron Simpson

On 04Feb2015 23:18, Jianhua Zhou  wrote:

Hi Everyone,

I am a core software engineer at Rocket Software Inc. I am working on database 
system called UniData and Universe.

Now we plan to introduce Python as the new programming language to our 
customer. When I try to build the python 3.4.1 on Red Hat Linux platform. I 
found some problem and need help.

After I run configure and make the python, at the very end, it said some 
optional modules we missing,

Python build finished successfully!
The necessary bits to build these optional modules were not found:
_bz2  _lzma _ssl
_tkinter  zlib

So, I went to python development guide site and found out I have to download 
some other source to build the optional modules.
Since I am on RH Linux and yum is installed on my Linux box, so I run following 
command
#  yum install yum-utils [...]
Package yum-utils-1.1.30-14.el6.noarch already installed and latest version

Looks like yum-utils is already installed. Then
#  yum-builddep python3
Loaded plugins: product-id, refresh-packagekit
No such package(s): python3


Redhat don't supply python 3 on RedHat 5 or 6. I don't have access to a RHEL7 
box, but if they did and you're using RHEL7 you could just "yum install" it and 
not bother with building anything.


If you're building from source you do not need to involve RPM or yum at all.
Unless you intend to ship python3 RPMs to your customers. Do you?

Otherwise you can just:

 - install the relevant library and -devel modules from RedHat, at a guess from 
a RHEL6 host:

 _bz2: bzip2-devel bzip2-libs
 _tkinter: tkinter tk-devel
 _lzma: xz-devel xz-libs xz-lzma-compat
 zlib: zlib zlib-devel
 _ssl: openssl openssl-devel

 - rebuild from source as before and see what it says (configure, make, etc)

Cheers,
Cameron Simpson 
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Hi, I am new to this board and have a question

2015-02-04 Thread Alexander Belopolsky
On Wed, Feb 4, 2015 at 6:18 PM, Jianhua Zhou 
wrote:

> The necessary bits to build these optional modules were not found:
>
> _bz2  _lzma _ssl
>
> _tkinter  zlib
>
>
>
> ..
>
>
>
> So what package name should I gave to download the additional source to
> build the optional module?
>
>
>

Questions like this are really better asked on Red Hat forums, but off the
top of my head, you need *-devel packages such as zlib-devel,
openssl-devel, etc.  It is usually easy to figure out from yum search.
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Why does pip upgrade to a random version?

2015-02-04 Thread Brian Curtin
On Wed, Feb 4, 2015 at 1:04 PM, Martin Thoma  wrote:
> Could somebody please have a look at the following SO question? It seems as
> if I might have found a bug in pip:
> http://stackoverflow.com/q/28282671/562769
>
> TL;DR of the SO question:
> I executed `$ sudo pip install hwrt --upgrade` mutiple times and got a -
> seemingly random - version of hwrt installed.

Try the pip mailing list: https://groups.google.com/forum/#!forum/pypa-dev
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com