ChadFulton / pymar

Markov Switching Models for Statsmodels
22 stars 15 forks source link

Compiling setup.py #1

Open TheTradingWarrior opened 9 years ago

TheTradingWarrior commented 9 years ago

Hey ,

I am trying to compile setup.py using ' python setup.py build_ext --inplace ' but I get the following error :

hamilton_filter.pyx:1:0: 'pymar-master.mar_c.hamilton_filter' is not a valid module name Cython.Compiler.Errors.CompileError: hamilton_filter.pyx

Am I missing something ?

Thank you in advance.

ChadFulton commented 9 years ago

Python can't handle dashes in module paths. I think it will work if you change the directory from pymar-master to just pymar or even pymar_master.