google-code-export / pysal

Automatically exported from code.google.com/p/pysal
Other
1 stars 1 forks source link

pip install complains about lack of __init__ files in test dirs #147

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. sudo pip install pysal

What is the expected output? 

phil@cr48-ubuntu:~$ sudo pip install pysal
[sudo] password for phil:
Downloading/unpacking pysal
 Downloading pysal-1.1.0.tar.gz (2.7Mb): 2.7Mb downloaded
 Running setup.py egg_info for package pysal
Successfully installed pysal
Cleaning up...

What do you see instead?

phil@cr48-ubuntu:~$ sudo pip install pysal
[sudo] password for phil: 
Downloading/unpacking pysal
 Downloading pysal-1.1.0.tar.gz (2.7Mb): 2.7Mb downloaded
 Running setup.py egg_info for package pysal
   package init file 'pysal/cg/tests/__init__.py' not found (or not a regular file)
   package init file 'pysal/core/tests/__init__.py' not found (or not a regular file)
   package init file 'pysal/core/util/tests/__init__.py' not found (or not a regular file)
   package init file 'pysal/esda/tests/__init__.py' not found (or not a regular file)
   package init file 'pysal/inequality/tests/__init__.py' not found (or not a regular file)
   package init file 'pysal/spatial_dynamics/tests/__init__.py' not found (or not a regular file)
   package init file 'pysal/spreg/tests/__init__.py' not found (or not a regular file)
   package init file 'pysal/region/tests/__init__.py' not found (or not a regular file)
   package init file 'pysal/tests/__init__.py' not found (or not a regular file)
   package init file 'pysal/weights/tests/__init__.py' not found (or not a regular file)
Installing collected packages: pysal
 Running setup.py install for pysal
   package init file 'pysal/cg/tests/__init__.py' not found (or not a regular file)
   package init file 'pysal/core/tests/__init__.py' not found (or not a regular file)
   package init file 'pysal/core/util/tests/__init__.py' not found (or not a regular file)
   package init file 'pysal/esda/tests/__init__.py' not found (or not a regular file)
   package init file 'pysal/inequality/tests/__init__.py' not found (or not a regular file)
   package init file 'pysal/spatial_dynamics/tests/__init__.py' not found (or not a regular file)
   package init file 'pysal/spreg/tests/__init__.py' not found (or not a regular file)
   package init file 'pysal/region/tests/__init__.py' not found (or not a regular file)
   package init file 'pysal/tests/__init__.py' not found (or not a regular file)
   package init file 'pysal/weights/tests/__init__.py' not found (or not a regular file)
Successfully installed pysal
Cleaning up...
phil@cr48-ubuntu:~$ 

Please use labels and text to provide additional information.

Original issue reported on code.google.com by phil.stp...@gmail.com on 16 Mar 2011 at 7:23

GoogleCodeExporter commented 9 years ago
Touch __init__.py in each directory listed.  Figure out how to test it works.

Original comment by phil.stp...@gmail.com on 13 Apr 2011 at 9:08

GoogleCodeExporter commented 9 years ago
Added __init__.py files to all test dirs.  It remains to be seen until a new 
package is uploaded to Python Package Index whether this works, but it should.

Original comment by phil.stp...@gmail.com on 13 Apr 2011 at 11:50