forked from chokkan/simstring
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing conda windows requirement (#10)
* Making two changes so that quickumls_simstring can build again on Windows. Since Windows default locale encoding for open() is cp1252, the encoding for reading a file is now explicit as utf8. Also, there was a "unresolved external" link time error once the extension was changed to 'quickumls_simstring/_simstring' but is now set to '_simstring' for Windows. * After previous commit to fix linking error, realized that .PYD files were being installed to install_dir instead of install_dir/quickumls_simstring which would prevent the lib from being found in Windows after install. Tried several other options to make this work but since the documentation for Extension says that the name of an extension should not be a filename (https://docs.python.org/3/distutils/apiref.html#distutils.core.Extension) this was the best solution I could find. * Changing requirements that conda must be the current environment for finding libiconv. Conda is still the easiest way to find it, but changing this up so that libiconv can be installed with conda but quickumls_simstring can still be installed with pip.
- Loading branch information
1 parent
df897a6
commit 3c63f7e
Showing
1 changed file
with
36 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters