Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing content to tarball #2194

Merged
merged 3 commits into from
Sep 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,29 @@ include CHANGELOG.md
include COPYING
include COPYING.LESSER
include ez_setup.py

include gensim/models/voidptr.h
include gensim/models/fast_line_sentence.h

include gensim/models/word2vec_inner.c
include gensim/models/word2vec_inner.pyx
include gensim/models/word2vec_inner.pxd
include gensim/models/word2vec_corpusfile.cpp
include gensim/models/word2vec_corpusfile.pyx
include gensim/models/word2vec_corpusfile.pxd

include gensim/models/doc2vec_inner.c
include gensim/models/doc2vec_inner.pyx
include gensim/models/doc2vec_inner.pxd
include gensim/models/doc2vec_corpusfile.cpp
include gensim/models/doc2vec_corpusfile.pyx

include gensim/models/fasttext_inner.c
include gensim/models/fasttext_inner.pyx
include gensim/models/fasttext_inner.pxd
include gensim/models/fasttext_corpusfile.cpp
include gensim/models/fasttext_corpusfile.pyx

include gensim/models/_utils_any2vec.c
include gensim/models/_utils_any2vec.pyx
include gensim/corpora/_mmreader.c
Expand Down
4 changes: 2 additions & 2 deletions gensim/test/test_fasttext.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ def test_persistence(self):
self.assertTrue(np.allclose(wv.syn0_ngrams, loaded_wv.syn0_ngrams))
self.assertEqual(len(wv.vocab), len(loaded_wv.vocab))

@unittest.skipIf(os.name == 'nt', "corpus_file is not supported for Windows + Py2"
"and avoid memory error with Appveyor x32")
@unittest.skipIf(os.name == 'nt',
"corpus_file is not supported for Windows + Py2 and avoid memory error with Appveyor x32")
def test_persistence_fromfile(self):
with temporary_file(get_tmpfile('gensim_fasttext1.tst')) as corpus_file:
utils.save_as_line_sentence(sentences, corpus_file)
Expand Down