matplotlib / basemap

Plot on map projections (with coastlines and political boundaries) using matplotlib
MIT License
779 stars 392 forks source link

Consider moving the pip package away from sourceforge #198

Open FLamparski opened 9 years ago

FLamparski commented 9 years ago

Currently, the url for basemap in pypi points at https://downloads.sourceforge.net/project/matplotlib/matplotlib-toolkits/basemap-1.0.7/basemap-1.0.7.tar.gz. This means that in order to install basemap, one has to type the rather scary-looking and lengthy pip3 install --allow-external basemap --allow-unverified basemap basemap. Given this and some relatively shady stuff sourceforge have engaged in recently, I think it's a good idea for you to move the distribution and update the pypi listing accordingly.

markmuetz commented 9 years ago

I've found this too, it makes installation of basemap a bit of a pest when using pip. And I'd echo the sentiments about sourceforge as well.

WeatherGod commented 9 years ago

These are valid points, and it is something to consider. Previously, the limitation in hosting the basemap package on pypi has been its size. Perhaps that can be revisited?

On Tue, Aug 11, 2015 at 5:17 AM, Mark Muetzelfeldt <notifications@github.com

wrote:

I've found this too, it makes installation of basemap a bit of a pest when using pip. And I'd echo the sentiments about sourceforge as well.

— Reply to this email directly or view it on GitHub https://github.com/matplotlib/basemap/issues/198#issuecomment-129785550.

matthew-brett commented 9 years ago

Relevant thread : https://github.com/matplotlib/matplotlib/issues/2715 Maybe file size limit of 50MB?

WeatherGod commented 9 years ago

Thread rezz-ing. @dstufft, you have helped us out before with file-size limits for matplotlib on PyPi (https://github.com/matplotlib/matplotlib/issues/2715). The problem is significantly worse for basemap, as the tarball is just under 130MB. What are our options?

dstufft commented 9 years ago

If you can wait until Warehouse is ready (scheduled to be early 2016), we'll have the ability to allow larger file sizes for specific projects so we can whitelist particular ones to have larger upload limits (our theoretical maximum will be several GB... but at some point we start running into problems with the cost of storing multiple releases of giant packages). In any case, 130MB for a well established project like matplotlib shouldn't be an issue once we can loosen the restrictions on a per project basis.

fbender commented 8 years ago

@dstufft Is Warehouse ready to be used for basemap now? As far as I can see it's still in development but at least partially operational. @WeatherGod Would it be a good idea to test hosting basemap there now?

dstufft commented 8 years ago

Yea, you can upload to Warehouse now, but you'll want to be aware of pypa/warehouse#1194.

WeatherGod commented 8 years ago

Is that true even if the package was never hosted on pypi directly? basemap was always hosted from sourceforge.

On Wed, May 18, 2016 at 12:45 PM, Donald Stufft notifications@github.com wrote:

Yea, you can upload to Warehouse now, but you'll want to be aware of pypa/warehouse#1194 https://github.com/pypa/warehouse/issues/1194.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/matplotlib/basemap/issues/198#issuecomment-220087525

dstufft commented 8 years ago

Yea, but you only have to do it once each time you upload (and once the issue is fixed, never again).

quang-ha commented 8 years ago

What is the current stage of this issue? I an trying to write some tutorials using basemap, and I want to minimilise the effort of installing it.

heitorPB commented 6 years ago

any news, @WeatherGod ?

I'm also in a similar situation of @quang-ha:

$ pip search basemap
basemap (1.0.7)         - Plot data on map projections with matplotlib
projmap (0.7.2)         - High level wrapper of matplotlib-Basemap
tilemapbase (0.4.3)     - Use OpenStreetMap tiles as basemaps in python / matplotlib
basemap_Jim (0.1.1)     - basemap of Northwestern Atlantic Coastline for python plotting  .
Circles (0.1)           - Draw correctly-projected circles on a Basemap plot
daynight2geojson (0.1)  - Get day and night global geometry and dumps to a GeoJSON file. Builded on top of
                          Matplotlib Basemap Toolkit Library.
(venv) 
$ pip install basemap
Collecting basemap
  Could not find a version that satisfies the requirement basemap (from versions: )
No matching distribution found for basemap
(venv)
da115115 commented 6 years ago

any news, @WeatherGod ?

I'm also in a similar situation of @quang-ha:

$ pip search basemap
basemap (1.0.7)         - Plot data on map projections with matplotlib
projmap (0.7.2)         - High level wrapper of matplotlib-Basemap
tilemapbase (0.4.3)     - Use OpenStreetMap tiles as basemaps in python / matplotlib
basemap_Jim (0.1.1)     - basemap of Northwestern Atlantic Coastline for python plotting  .
Circles (0.1)           - Draw correctly-projected circles on a Basemap plot
daynight2geojson (0.1)  - Get day and night global geometry and dumps to a GeoJSON file. Builded on top of
                          Matplotlib Basemap Toolkit Library.
(venv) 
$ pip install basemap
Collecting basemap
  Could not find a version that satisfies the requirement basemap (from versions: )
No matching distribution found for basemap
(venv)
heitorPB commented 6 years ago

PR #433 discusses about this issue.

ver0z commented 4 years ago

I solved this by uninstalling the conda and reinstalling, defining on installation the conda path on variable environment. After, at settings on your project, set the project interpreter to C:\Users\the_user_name\anaconda3\python.exe, then try to install the basemap. It was the only way I got this, after many tries and bugs with pip I tried with conda and that's it.

remycloyd commented 4 years ago

I'm not sure I understand. I have just installed anaconda after a few days of pip problems. not sure where to go from here