NOTE: this Pull Request unifies the already existing default exclude patterns. Before, they differed between the "copy project" and "copy packages" (didn't include *.pyc and node_modules) actions.
Also: unifies the call to shutil.copytree with strings as source and destination parameters.
Motivation and Context
fixes #62
How Has This Been Tested?
✅ CI
✅ Unit tests
✅ Local install and run of the build-project command
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Description
Use any configured
tool.poetry.exclude
patterns when building projects.Poetry docs about the
exclude
property: https://python-poetry.org/docs/pyproject/#include-and-excludeNOTE: this Pull Request unifies the already existing default exclude patterns. Before, they differed between the "copy project" and "copy packages" (didn't include *.pyc and node_modules) actions.
Also: unifies the call to
shutil.copytree
with strings as source and destination parameters.Motivation and Context
fixes #62
How Has This Been Tested?
✅ CI ✅ Unit tests ✅ Local install and run of the
build-project
commandTypes of changes
Checklist: