cppclean icon indicating copy to clipboard operation
cppclean copied to clipboard

Support Windows by using `setuptools` in `setup.py` instead of `distutils`

Open Chaosmeister opened this issue 8 years ago • 4 comments

pip --install cppclean is not sufficient on my Computer.

I'm unable to execute py cppclean after that.
I have to execute py $AbsolutePathToCppclean I don't work much with python.

Chaosmeister avatar Oct 31 '17 13:10 Chaosmeister

I think it would be pip install cppclean. I'm not sure what py is, but you would need to make sure that the location pip installed the cppclean executable to is in your PATH.

myint avatar Nov 02 '17 02:11 myint

Ah right It was pip install --upgrade cppclean

I didn't get an executable though.

I only got

AppData\Local\Programs\Python\Python36\Scripts\cppclean

and I call it with py %LOCALAPPDATA%\Programs\Python\Python36\Scripts\cppclean

Chaosmeister avatar Nov 02 '17 06:11 Chaosmeister

Oh, I see, this is on Windows. We'll need to upgrade setup.py to use setuptools like for example autoflake does.

myint avatar Nov 02 '17 12:11 myint

Ahh sorry!
I should have mentioned that.

Chaosmeister avatar Nov 02 '17 12:11 Chaosmeister