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

Zip output #4

Merged
merged 21 commits into from
Apr 1, 2021
Merged

Zip output #4

merged 21 commits into from
Apr 1, 2021

Conversation

zZnghialamZz
Copy link
Contributor

This PR is for the zip mode ticket, which included:

  • CLI support for additional zip files/folders
  • Zip the output packed file and the additional files/folder
  • A simple logger for logging current status, errors

@zZnghialamZz
Copy link
Contributor Author

zZnghialamZz commented Mar 30, 2021

I added a commit for simplify the CLI & custom path support for zipping method as we discussed.

Usage: pyscriptpacker [options] module1,module2,.. path1,path2,.. output

Convert Python packages into a single file which makes the distribution of
your projects easier, provide options for compressing the source code if the
users want to add a security layer to it.

Options:

  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -c, --compress        compress the Python source.

  -z FILEs,FOLDERs,.., --zip=FILEs,FOLDERs,..
                        zip the output and the specified files/folders to the
                        root of the zip file or using the custom path provided
                        by the user, eg: -z file:path/to/file. User can
                        provide None if only the output is needed to be
                        zipped.

@zZnghialamZz zZnghialamZz marked this pull request as draft March 30, 2021 09:52
@zZnghialamZz zZnghialamZz marked this pull request as ready for review April 1, 2021 03:36
@zZnghialamZz
Copy link
Contributor Author

I think the branch is ready for review, to summary this PR included:

  • CLI support for additional zip files/folders
  • Zip the output packed file and the additional files/folder (custom path support)
  • A simple logger for logging current status, errors
  • Main file support for the bundle script.
  • A small unit test case for the main file.

@coreprocess coreprocess merged commit 0f0958e into develop Apr 1, 2021
@coreprocess coreprocess deleted the zip-output branch April 1, 2021 17:02
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.

None yet

2 participants