Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

python -m codecov fails #73

Closed
jayvdb opened this issue Jul 28, 2016 · 2 comments
Closed

python -m codecov fails #73

jayvdb opened this issue Jul 28, 2016 · 2 comments

Comments

@jayvdb
Copy link
Contributor

jayvdb commented Jul 28, 2016

python -m codecov
C:\Python27\python.exe: No module named codecov.__main__; 'codecov' is a package and cannot be directly executed
Command exited with code 1
@stevepeak
Copy link
Contributor

Adding a file called codecov/__main__.py would fix this right?

@jayvdb
Copy link
Contributor Author

jayvdb commented Jul 28, 2016

Yup.

Without it, on Appveyor I need to fiddle with the PATH
https://github.com/html5lib/html5lib-python/pull/293/files#diff-11c909939117928998b102a1fff7d363R3

If this was fixed, I could use simply python -m codecov.

Also note that the codecov.exe created by setuptools has been very flaky on Windows (see CleanCut/green#127), so being able to avoid the setuptools created codecov.exe can be helpful as an alternative.

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

No branches or pull requests

2 participants