Skip to content

Can I use cx_Freeze? #11281

Closed Answered by igurin-invn
igurin-invn asked this question in Q&A
Discussion options

You must be logged in to vote

Our infrastructure guy figured it out. He said,

In a nutshell, xgboost library is complicated to package using cx_freeze, because:

  • It does not work with optimize=2 (removes doctrings)
  • It cannot be stored in library.zip (VERSION file)

But he got it to work by setting "optimize": 1, "no_compress": True in the build options.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by igurin-invn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants