Skip to content

Commit

Permalink
Update "tasks.py" file.
Browse files Browse the repository at this point in the history
  • Loading branch information
KelSolaar committed Mar 7, 2021
1 parent 4ab3957 commit 3f61e3a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def clean(ctx, docs=True, bytecode=False):
patterns.append('docs/generated')

if bytecode:
patterns.append('**/__pycache__')
patterns.append('**/*.pyc')

for pattern in patterns:
Expand Down Expand Up @@ -297,8 +298,8 @@ def requirements(ctx):
"""

message_box('Exporting "requirements.txt" file...')
ctx.run('poetry run pip freeze | '
'egrep -v "github.com/colour-science|enum34" '
ctx.run('poetry run pip list --format=freeze | '
'egrep -v "github.com/colour-science" '
'> requirements.txt')


Expand Down

0 comments on commit 3f61e3a

Please sign in to comment.