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

[FEATURE REQUEST] Removal of __main__.py in 1.7.3 #496

Closed
michaeltinsley opened this issue Mar 9, 2022 · 1 comment
Closed

[FEATURE REQUEST] Removal of __main__.py in 1.7.3 #496

michaeltinsley opened this issue Mar 9, 2022 · 1 comment

Comments

@michaeltinsley
Copy link

Is your feature request related to a problem? Please describe.

After having updated Prospector, calling Prospector as a module (python3 -m prospector), no longer worked.
Looking into this, it seems prospector/__main__.py has been removed.

Was there any particular reason for this? I am happy to fix this if it is wanted?

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@carl-pr-ai
Copy link

I removed it while tidying things up and removing things I didn't think were used any more, I thought it was a relic of the past setuptools-based packaging. Basically it got removed because I forgot about the use case for running as a module.

If you create a PR to restore that I'll gladly merge that in!

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

No branches or pull requests

2 participants