pbfy0 / visvis

Automatically exported from code.google.com/p/visvis
Other
0 stars 0 forks source link

Visvis should be installable using pip #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
So far I've done no efforts to support PIP. Does it work like this or should I 
do something else to support PIP?

Original issue reported on code.google.com by almar.klein@gmail.com on 29 Apr 2012 at 9:11

GoogleCodeExporter commented 9 years ago
I've tried installing visvis with pip in a virtualenv.  Two data points:

1) If I connect my existing site-packages to the virtualenv, so that I already 
have numpy and some toolkits installed, pip gets through the install but gives 
a error about the io module (see attached).  I suspect some wires are getting 
crossed somewhere, and some other io.py is getting in front of the correct one. 
 I don't know if this is a problem with visvis or my system, though.  Despite 
this, visvis does get installed properly and works fine.

2) If I try to install visvis in a bare virtualenv, it gives me an error that 
it can't find numpy.  The problem is that setuptools, distribute, and pip all 
pay attention to the "install_requires" keyword instead of "requires".  If I 
make that change, pip properly pulls and installs numpy and pyOpenGL.  It runs 
into the same problem with the io module, but again it seems to install 
properly.  However, since no toolkit was installed, I can't actually make any 
plots to test this.

Original comment by rschr...@gmail.com on 21 Jul 2012 at 2:42

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed both points in revision bba54cb9b60f.

Original comment by almar.klein@gmail.com on 16 Aug 2012 at 2:17