ScatterHQ / machinist

A library for constructing finite state machines
Apache License 2.0
57 stars 12 forks source link

Update pip version #39

Closed D3f0 closed 9 years ago

D3f0 commented 9 years ago

Pip version does not work it fails to import:

In [1]: import machinist
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-1-786a8cf3703c> in <module>()
----> 1 import machinist

/home/nahuel/.virtualenvs/foo/lib/python2.7/site-packages/machinist/__init__.py in <module>()
    115     ]
    116 
--> 117 from ._fsm import (
    118     IFiniteStateMachine, IOutputExecutor, IRichInput,
    119     StateMachineDefinitionError, ExtraTransitionState,

/home/nahuel/.virtualenvs/foo/lib/python2.7/site-packages/machinist/_fsm.py in <module>()
     46     [FSM_TERMINAL_STATE],
     47     [],
---> 48     u"A finite state machine was initialized.")
     49 
     50 LOG_FSM_TRANSITION = ActionType(

Installed as editable with pip and it works fine.

exarkun commented 9 years ago

Hi. Thanks for your interest in machinist. I think you're saying that the version of machinist on PyPI doesn't currently work when installed with the newest version of eliot. If so, this has been fixed in master@HEAD already - it just needs to be released.

If you think the problem you encountered is something else, feel free to re-open the issue with more details.

itamarst commented 9 years ago

0.2.0 is now up on PyPI, so you should be able to just pip install machinist and it'll work.

D3f0 commented 9 years ago

Thank you guys!