Please sign in to comment.
fix the module import when linking to the git root instead of module
for some application I need to link to the gensim folder which is also the root of the repository. This script helps python to find the actual sourcecode of the module and had to be changed because radim moved the source within the repo
- Loading branch information...
|@@ -1,4 +1,4 @@|
|# script by dedan: helps him to symlink gensim|
|-modules_path = os.path.join('site-packages', 'gensim', 'gensim')|
|+dirname = __path__ # Package's main folder|
|+__path__.insert(0, os.path.join(dirname, "gensim"))|