(gensim_cenv)ubuntu@ubuntu14:~/src/gensim-develop$ ls gensim/models/*pyx
gensim/models/doc2vec_inner.pyx gensim/models/word2vec_inner.pyx
(gensim_cenv)ubuntu@ubuntu14:~/src/gensim-develop$ cython gensim/models/word2vec_inner.pyx
Error compiling Cython file:
------------------------------------------------------------
...
#!/usr/bin/env cython
^
------------------------------------------------------------
gensim/models/word2vec_inner.pyx:1:0: 'gensim-develop.gensim.models.word2vec_inner' is not a valid module name
(gensim_cenv)ubuntu@ubuntu14:~/src/gensim-develop$ cd ..
(gensim_cenv)ubuntu@ubuntu14:~/src$ mv gensim-develop trunk
(gensim_cenv)ubuntu@ubuntu14:~/src$ cd trunk
(gensim_cenv)ubuntu@ubuntu14:~/src/trunk$ cython gensim/models/word2vec_inner.pyx
(gensim_cenv)ubuntu@ubuntu14:~/src/trunk$ cd ../
(gensim_cenv)ubuntu@ubuntu14:~/src$ mv trunk gensim-develop
(gensim_cenv)ubuntu@ubuntu14:~/src$ cd gensim-develop
(gensim_cenv)ubuntu@ubuntu14:~/src/gensim-develop$ # then I build_ext/install
You can see the whole project setup at <https://github.com/piskvorky/gensim>. The project layout seems to work OK in automated builds and pip/package installs... but I can't figure what's wrong with my one-off cython invocations. I've tried from many working-directories, with alternate '-w' arguments, various edits to paths in setup.py, etc with no luck
Any ideas what I'm missing?
- Gordon