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

Change to allow to work with pyinstaller #31

Merged
merged 1 commit into from
Mar 29, 2017
Merged

Conversation

stephenrauch
Copy link
Contributor

@stephenrauch stephenrauch commented Mar 29, 2017

Pyinstaller does not support pkg_utils.iter_modules(). Instead one needs to use pkgutil.get_importer() to see what is available. See pyinstaller/pyinstaller#1905 for details.

@codecov-io
Copy link

codecov-io commented Mar 29, 2017

Codecov Report

Merging #31 into master will decrease coverage by 0.11%.
The diff coverage is 70.58%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #31      +/-   ##
==========================================
- Coverage   98.96%   98.85%   -0.12%     
==========================================
  Files          31       31              
  Lines        2604     2611       +7     
==========================================
+ Hits         2577     2581       +4     
- Misses         27       30       +3
Impacted Files Coverage Δ
pyexcel_io/__init__.py 82.75% <70.58%> (-8.16%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 42f546c...19132f7. Read the comment docs.

@chfw chfw merged commit 1e6f02e into pyexcel:master Mar 29, 2017
@chfw
Copy link
Member

chfw commented Mar 29, 2017

Thanks for the PR. I will code up some unit test for the 11% drop and give some guidance note regarding pyinstaller before release your PR.

@stephenrauch
Copy link
Contributor Author

Sorry about the test coverage drop. I wasn't sure just how much infrastructure you wanted to bring in to test this, so I just threw it over the wall. Thanks for catching it on the other side.

FYI, this originally came from Stack Overflow.

chfw added a commit that referenced this pull request Mar 29, 2017
chfw added a commit that referenced this pull request Mar 29, 2017
@chfw
Copy link
Member

chfw commented Mar 30, 2017

v0.3.3 was released to pypi.

errikos pushed a commit to errikos/amtt that referenced this pull request May 9, 2017
Pyexcel loads the appropriate module for each file type dynamically,
therefore we need to explicitly tell PyInstaller to import pyexcel.xls.
For more information, see this issue:
pyexcel/pyexcel-io#31

Signed-off-by: Ergys Dona <errikosd@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants