1111
1212this_dir = os .path .dirname (os .path .abspath (__file__ ))
1313
14- openspell = Extension (
15- name = '_openspell ' ,
16- include_dirs = ['.' , 'openspell ' ],
14+ jamspell = Extension (
15+ name = '_jamspell ' ,
16+ include_dirs = ['.' , 'jamspell ' ],
1717 sources = [
18- os .path .join ('openspell ' , 'lang_model.cpp' ),
19- os .path .join ('openspell ' , 'spell_corrector.cpp' ),
20- os .path .join ('openspell ' , 'utils.cpp' ),
21- os .path .join ('openspell ' , 'perfect_hash.cpp' ),
22- os .path .join ('openspell ' , 'bloom_filter.cpp' ),
18+ os .path .join ('jamspell ' , 'lang_model.cpp' ),
19+ os .path .join ('jamspell ' , 'spell_corrector.cpp' ),
20+ os .path .join ('jamspell ' , 'utils.cpp' ),
21+ os .path .join ('jamspell ' , 'perfect_hash.cpp' ),
22+ os .path .join ('jamspell ' , 'bloom_filter.cpp' ),
2323 os .path .join ('contrib' , 'cityhash' , 'city.cc' ),
2424 os .path .join ('contrib' , 'phf' , 'phf.cc' ),
25- os .path .join ('openspell .i' ),
25+ os .path .join ('jamspell .i' ),
2626 ],
2727 extra_compile_args = ['-std=c++11' , '-O2' ],
2828 swig_opts = ['-c++' ],
@@ -46,24 +46,24 @@ def find_swig(self):
4646 assert subprocess .check_output ([swigBinary , "-version" ]).find ('SWIG Version 3' ) != - 1
4747 return swigBinary
4848
49- VERSION = '0.0.5 '
49+ VERSION = '0.0.6 '
5050
5151setup (
52- name = 'openspell ' ,
52+ name = 'jamspell ' ,
5353 version = VERSION ,
5454 author = 'Filipp Ozinov' ,
5555 author_email = 'fippo@mail.ru' ,
56- url = 'https://github.com/bakwc/OpenSpell ' ,
57- download_url = 'https://github.com/bakwc/OpenSpell /tarball/' + VERSION ,
56+ url = 'https://github.com/bakwc/JamSpell ' ,
57+ download_url = 'https://github.com/bakwc/JamSpell /tarball/' + VERSION ,
5858 description = 'spell checker' ,
5959 long_description = 'context-based spell checker' ,
60- keywords = ['nlp' , 'spell' , 'spell-checker' ],
60+ keywords = ['nlp' , 'spell' , 'spell-checker' , 'jamspell' ],
6161 classifiers = [
6262 'Programming Language :: Python :: 2.7' ,
6363 'License :: OSI Approved :: MIT License' ,
6464 ],
65- py_modules = ['openspell ' ],
66- ext_modules = [openspell ],
65+ py_modules = ['jamspell ' ],
66+ ext_modules = [jamspell ],
6767 zip_safe = False ,
6868 cmdclass = {
6969 'build' : CustomBuild ,
0 commit comments