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

[BUG] --exclude Error copying directory #1772

Closed
17Reset opened this issue May 13, 2024 · 2 comments
Closed

[BUG] --exclude Error copying directory #1772

17Reset opened this issue May 13, 2024 · 2 comments
Labels

Comments

@17Reset
Copy link

17Reset commented May 13, 2024

cmd:

pyarmor cfg data_files=*

output:

INFO     Python 3.12.2
INFO     Pyarmor 8.5.8 (group), 006040, non-profits
INFO     Platform windows.x86_64
INFO     change option "data_files" to new value "*"

cmd:

pyarmor gen  --exclude {working_path}/source/rtl/xilinx_vivado  --recursive  --enable-bcc  --obf-code 2  --output dist_pyarmor

output:

Section: finder

Current settings
  data_files = 0

Global settings

Local settings
  data_files = *
INFO     Python 3.12.2
INFO     Pyarmor 8.5.8 (group), 006040, non-profits
INFO     Platform windows.x86_64

INFO     copy data file source\rtl\xilinx_vivado\Vivado\2023.2\bin\loader.bat
INFO     copy data file source\rtl\xilinx_vivado\Vivado\2023.2\bin\rdiArgs.bat
INFO     copy data file source\rtl\xilinx_vivado\Vivado\2023.2\bin\setupEnv.bat
INFO     copy data file source\rtl\xilinx_vivado\Vivado\2023.2\bin\vivado.bat

image
What's the problem:
There is an error in pyarmor's copying, as you can see from the above output, there is a directory named 2023.2 in my directory, but after copying it with pyarmor, the output changes to 2023, which leads to a serious error

@17Reset 17Reset added the bug label May 13, 2024
@jondy
Copy link
Contributor

jondy commented May 14, 2024

Got it, I'll check it.

@jondy jondy closed this as completed in c498ce1 May 14, 2024
@jondy
Copy link
Contributor

jondy commented May 14, 2024

It wll be fixed in next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants