Skip to content

Conversation

@mortenvp
Copy link

Hi this pull-request contains two changes. Both are motivated by the need "package/bundle" the module with a different stand-alone tool (see waf build-system).

Basically waf works by creating a self-extracting binary, with all the python code it needs bundled inside.

Two things happen:

  1. All comments are stripped. This does not work with python-archive since it defines the exception classes with only a doc string. Leading to a syntax error when those doc strings are removed. Therefore I've added the pass statement.
  2. The module gets relocated, there for the absolute import does not work, and we need to do a relative import.

Hope this could be accepted :)

Thanks for a nice module - all the best!

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.

1 participant