Skip to content

Conversation

@radarhere
Copy link
Member

Resolves #4981

Adds a --remove-dist-egg flag to setup.py. It removes any created dist/*.egg file. This is also added to make release-test.

@hugovk
Copy link
Member

hugovk commented Oct 18, 2020

To try and keep the monster setup.py a bit leaner, do you think rm dist/*.egg in make release-test would be enough?

Prefixing like -rm dist/*.egg tells make to ignore any errors (e.g. file not found): https://stackoverflow.com/a/2670143/724176

@radarhere
Copy link
Member Author

My thinking was to avoid removing any other eggs that might also be in the 'dist' directory - but I realise that's not really a situation that's likely to occur.

Ok, see #4992

@radarhere radarhere closed this Oct 19, 2020
@radarhere radarhere deleted the egg branch October 19, 2020 10:14
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.

Release process creates a dist/*.egg file

2 participants