a Python release independent installer possible?

Asked by Mike

Since Python 3.2 promises a stable ABI, is it possible that a Ephem installer for windows will work for on future python releases?

Is anyone running Ephem on Python 3, or is it only working on Linux and OSX?

Question information

Language:
English Edit question
Status:
Answered
For:
PyEphem Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Brandon Rhodes (brandon-rhodes) said :
#1

The Python 3 version of "ephem", according to PyPI, has had nearly 1,000 downloads over its lifetime:

http://pypi.python.org/pypi/ephem/

My guess is that this means people are using it with Python 3! My guess would be that those people are using it on Windows, Linux, and Mac — it would be odd if nearly 1k downloads were all to one operating system! — but since PyPI does not tell me what operating system was used with each download, I have no idea on what platform it is most popular.

Yes, the stable ABI means that I can probably release a Windows installer that will work for all versions of Python from 3.2 onward. But, of course, since Python 3.2 was just released a few days ago, and 3.3 is thought to be 18 months out or more, then if I release a version of PyEphem for 3.2+ then it will only support that one version of Python for quite a long time, until further versions of Python are released.

Revision history for this message
Mike (johnshoy-verizon) said :
#2

I should review my question to see if I might have rubbed you the wrong way, but I'm sorry if I did. PyEphem deserves to have all the downloads it does. I've looked at XEphem and it's obvious there is years of refinement in the code and it would be foolish to try to recreate the functionality on ones own. I myself mostly want it for the SGP4 propagator, and the earth satellite and observer functions.

On Windows 7 I spent some time trying to set up MinGW and building ephem but no luck. There is a bit of a learning curve. I found some other folks on the web trying to do it and had no luck. Easy_install doesn't work. The folks at Activestate try to make packages available, but they failed (on Windows) too ...

http://code.activestate.com/pypm/ephem/

http://code.activestate.com/pypm/feeds/ephem/?succeeded=0

So ... I'm guessing people are using/loving it on Python 3, but I don't KNOW if anyone is using it with Windows, and I thought you might.

It looks like you're a really busy guy in the Python community. Thanks for all your contributions!

Mike

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brandon Craig Rhodes
Sent: Monday, February 21, 2011 9:35 PM
To: <email address hidden>
Subject: Re: [Question #146317]: a Python release independent installer possible?

Your question #146317 on PyEphem changed:
https://answers.launchpad.net/pyephem/+question/146317

Brandon Craig Rhodes posted a new comment:
The Python 3 version of "ephem", according to PyPI, has had nearly 1,000
downloads over its lifetime:

http://pypi.python.org/pypi/ephem/

My guess is that this means people are using it with Python 3! My guess
would be that those people are using it on Windows, Linux, and Mac � it
would be odd if nearly 1k downloads were all to one operating system! �
but since PyPI does not tell me what operating system was used with each
download, I have no idea on what platform it is most popular.

Yes, the stable ABI means that I can probably release a Windows
installer that will work for all versions of Python from 3.2 onward.
But, of course, since Python 3.2 was just released a few days ago, and
3.3 is thought to be 18 months out or more, then if I release a version
of PyEphem for 3.2+ then it will only support that one version of Python
for quite a long time, until further versions of Python are released.

--
You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Brandon Rhodes (brandon-rhodes) said :
#4

Mike — I did not intend to sound grouchy at all; your question certainly did not rub me the wrong way! I was just typing quickly because things were getting busy as PyCon 2011 approached.

You are right that I should get some Windows installables available for PyEphem under Python 3. And, really, I should re-combine the two code bases now that good techniques are available for maintaining code that is intended to work under both Python 2 and Python 3. I will bring up my Windows development environment tomorrow and see what I can do to get the current PyEphem available for Python 3, and post the results back here!

Revision history for this message
Mike (johnshoy-verizon) said :
#5

Sounds great - thanks for the note!

Mike

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brandon Craig Rhodes
Sent: Sunday, March 20, 2011 11:23 PM
To: <email address hidden>
Subject: RE: [Question #146317]: a Python release independent installer possible?

Your question #146317 on PyEphem changed:
https://answers.launchpad.net/pyephem/+question/146317

Brandon Craig Rhodes posted a new comment:
Mike � I did not intend to sound grouchy at all; your question certainly
did not rub me the wrong way! I was just typing quickly because things
were getting busy as PyCon 2011 approached.

You are right that I should get some Windows installables available for
PyEphem under Python�3. And, really, I should re-combine the two code
bases now that good techniques are available for maintaining code that
is intended to work under both Python�2 and Python�3. I will bring up my
Windows development environment tomorrow and see what I can do to get
the current PyEphem available for Python�3, and post the results back
here!

--
You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Brandon Rhodes (brandon-rhodes) said :
#7

Can you help with this problem?

Provide an answer of your own, or ask Mike for more information if necessary.

To post a message you must log in.