vpython-wx icon indicating copy to clipboard operation
vpython-wx copied to clipboard

[IDEA] Debian Packages

Open DevynCJohnson opened this issue 11 years ago • 9 comments

It would be great if Vpython came in Debian packages. That may help increase the number of users.

DevynCJohnson avatar Jun 29 '13 22:06 DevynCJohnson

Indeed. I've frequently begged for someone in the VPython community to step forward and take responsibility for building Linux packages, but so far no takers. The packages that are available (including for Ubuntu) are way out of date. Steve Spicklemire has made it very much easier to build VPython from source, but someones (plural) need to take responsibility for building packages for the many diverse Linux distributions.

Here's some data on VPython download usage from sourceforge.net: 70% Windows, 15% Mac, 15% Linux.

BruceSherwood avatar Jun 30 '13 00:06 BruceSherwood

It's also complicated by the fact that wx-python 2.9 is not in a debian package (at least it wasn't last time I checked.... has that changed?)

Having said that, since the linux build now uses distutils I was hoping the 'packaging' problem would be simplified.

-steve

On Jun 29, 2013, at 7:06 PM, BruceSherwood [email protected] wrote:

Indeed. I've frequently begged for someone in the VPython community to step forward and take responsibility for building Linux packages, but so far no takers. The packages that are available (including for Ubuntu) are way out of date.

Here's some data on VPython download usage from sourceforge.net: 70% Windows, 15% Mac, 15% Linux.

On Sat, Jun 29, 2013 at 4:34 PM, Devyn Collier Johnson < [email protected]> wrote:

It would be great if Vpython came in Debian packages. That may help increase the number of users.

— Reply to this email directly or view it on GitHubhttps://github.com/BruceSherwood/vpython-wx/issues/9 .

— Reply to this email directly or view it on GitHub.

sspickle avatar Jun 30 '13 15:06 sspickle

Actually.. it needs to be 2.9.4 or greater I think.

-steve

On Jun 30, 2013, at 10:07 AM, Steve Spicklemire [email protected] wrote:

It's also complicated by the fact that wx-python 2.9 is not in a debian package (at least it wasn't last time I checked.... has that changed?)

Having said that, since the linux build now uses distutils I was hoping the 'packaging' problem would be simplified.

-steve

On Jun 29, 2013, at 7:06 PM, BruceSherwood [email protected] wrote:

Indeed. I've frequently begged for someone in the VPython community to step forward and take responsibility for building Linux packages, but so far no takers. The packages that are available (including for Ubuntu) are way out of date.

Here's some data on VPython download usage from sourceforge.net: 70% Windows, 15% Mac, 15% Linux.

On Sat, Jun 29, 2013 at 4:34 PM, Devyn Collier Johnson < [email protected]> wrote:

It would be great if Vpython came in Debian packages. That may help increase the number of users.

— Reply to this email directly or view it on GitHubhttps://github.com/BruceSherwood/vpython-wx/issues/9 .

— Reply to this email directly or view it on GitHub.

sspickle avatar Jun 30 '13 15:06 sspickle

If I understood Debian packages better (I am learning), I would volunteer. Once I am better at packaging software for Debian systems, then I will inform you.

DevynCJohnson avatar Jul 01 '13 12:07 DevynCJohnson

Does it really need to be an .deb package? VPython-WX installs just fine using PIP via github. See:

http://blog.maestropublishing.com/2013/09/03/installing-vpython-visual-python-on-linux/

We're waiting the pull-request on issue #15 to be merged in for PIP installations. For now you can use this fork:

sudo pip install git+git://github.com/glarrain/vpython-wx.git

I think a better idea would be get a package on PyPi and not have to worry about compiling .debs for all target systems. What do you think?

I can take ownership of getting a package on PyPi if we can get the pull-request merged in.

maestrofjp avatar Sep 10 '13 23:09 maestrofjp

Peter and Steve, it appears that there is a new development that contributes to making installation easier, namely that there is a very new wxPython 2.9.5 which presumably doesn't need the patch that 2.9.4 needed. I was surprised, Peter, as you saw, that was one of the things that contributed to the complexity of building on Linux.

Bruce

On Tue, Sep 10, 2013 at 5:32 PM, Peter Farrell [email protected]:

Does it really need to be an .deb package? VPython-WX installs just fine using PIP via github. See:

http://blog.maestropublishing.com/2013/09/03/installing-vpython-visual-python-on-linux/

We're waiting the pull-request on issue #15https://github.com/BruceSherwood/vpython-wx/pull/15to be merged in for PIP installations. For now you can use this fork:

sudo pip install git+git://github.com/glarrain/vpython-wx.git

I think a better idea would be get a package on PyPi and not have to worry about compiling .debs for all target systems. What do you think?

I can take ownership of getting a package on PyPi if we can get the pull-request merged in.

— Reply to this email directly or view it on GitHubhttps://github.com/BruceSherwood/vpython-wx/issues/9#issuecomment-24203065 .

BruceSherwood avatar Sep 11 '13 03:09 BruceSherwood

For the record, the PR in question has been accepted thus it's now correct to install the dev version this way:

pip install git+git://github.com/BruceSherwood/vpython-wx.git

glarrain avatar Sep 15 '13 21:09 glarrain

Personally I would strongly vote for PyPI inclusion as it makes installation on Linux, *BSD and OS X a lot easier.

I am willing to maintain the PyPI package if needed, initial setup shouldn't be more than:

python setup.py register
python setup.py sdist upload

wolph avatar Oct 13 '14 06:10 wolph

It would be great if you would take the responsibility for creating a PyPI package. I'm copying Steve Spicklemire on this, as he has been doing lots of work to improve the installation issues.

On Mon, Oct 13, 2014 at 12:57 AM, Rick van Hattem [email protected] wrote:

Personally I would strongly vote for PyPI inclusion as it makes installation on Linux, *BSD and OS X a lot easier.

I am willing to maintain the PyPI package if needed, initial setup shouldn't be more than:

python setup.py register python setup.py sdist upload

— Reply to this email directly or view it on GitHub https://github.com/BruceSherwood/vpython-wx/issues/9#issuecomment-58853126 .

BruceSherwood avatar Oct 13 '14 15:10 BruceSherwood