SiLab-Bonn / pylandau

Simple Landau distribution definitions to be used in Python.
GNU Lesser General Public License v2.1
20 stars 4 forks source link

PyPI package #2

Closed DavidLP closed 8 years ago

DavidLP commented 8 years ago

It was reported that the pyLandau package hosted on PyPI does not work with python 3.5 under Ubuntu 12. The fit example fails with the following error:

Traceback (most recent call last):
  File "fit.py", line 4, in <module>
    from pyLandau import landau
ImportError: dynamic module does not define module export function (PyInit_landau)

Packaging errors like this are not easy to spot, since there is to my knowledge no easy way to check this with Travis CI. Most likely this issue is a fix. I will try it in the next release.

DavidLP commented 8 years ago

So far you can always install pyLandau with

pip install https://github.com/SiLab-Bonn/pyLandau/archive/master.zip
DavidLP commented 8 years ago

I just installed the package under Xubunutu 14.04 LTS and Miniconda2 Python with

pip install pylandau

No error occurred.

DavidLP commented 8 years ago

Fixed in 2.0.0