Skip to content

Commit

Permalink
Post-build step to remove egg files
Browse files Browse the repository at this point in the history
  • Loading branch information
ruck314 committed Jun 19, 2024
1 parent f2ce59d commit e494ef8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ source:

build:
number: {{ environ.get('GIT_DESCRIBE_NUMBER',0) }}
script: |
# Existing build steps
python setup.py install
# Post-build step to remove egg files
find $SP_DIR -name "*.egg-info" -exec rm -rf {} +
find $SP_DIR -name "*.eggs" -exec rm -rf {} +
requirements:
build:
Expand Down

0 comments on commit e494ef8

Please sign in to comment.