SiLab-Bonn / pixel_clusterizer

A fast, generic, and easy to use clusterizer to cluster hits of a pixel matrix in Python.
MIT License
3 stars 0 forks source link

Warning during usage of sdist package #11

Closed laborleben closed 6 years ago

laborleben commented 6 years ago

The sdist package (pixel_clusterizer-3.1.2.tar.gz) is issuing warnings during usage:


....c:\users\jejan\dev\pixel_clusterizer\pixel_clusterizer\__init__.py:3: UserWa
rning: Module pixel_clusterizer was already imported from c:\users\jejan\dev\pix
el_clusterizer\pixel_clusterizer\__init__.pyc, but c:\users\jejan\miniconda2\lib
\site-packages\pixel_clusterizer-3.1.2-py2.7.egg is being added to sys.path
  __version__ = get_distribution('pixel_clusterizer').version```
DavidLP commented 6 years ago

How can a tar.gz package (that I guess you installed with pip for checking) look up you dev code? Looks like python package installed not correctly.

laborleben commented 6 years ago

It happens when pip is downloading and installing pixel_clusterizer during installation of other packages (e.g., testbeam_analysis). The warnings will not occur, if pixel_clusterizer was installed manually beforehand.

DavidLP commented 6 years ago

Is this fixed now?

laborleben commented 6 years ago

No, I cannot reproduce the issue anymore. Closing the issue.