pixell icon indicating copy to clipboard operation
pixell copied to clipboard

Make setup.py clean remove in place build files in pixell directory

Open msyriac opened this issue 7 years ago • 3 comments

msyriac avatar Nov 15 '18 23:11 msyriac

I don't think I should be assigned to this... I don't really like the "develop" mode. Modern build systems simplify bookkeeping by keeping built/installable files totally separate from the source files. "setup.py develop" is a hack around this nice practice.

mhasself avatar Feb 11 '19 14:02 mhasself

Ok, I will take care of this. Could you clarify what your preferred way of working in "development mode" is? e.g. do you re-install the package every time you make a change?

msyriac avatar Mar 11 '19 19:03 msyriac

Yes, I reinstall every time. I often write my own Makefile that wraps the commands I need; e.g. "make install_user" might invoke something more verbose, such as python3 setup.py install --user If I can't spare a second terminal, I'll often use emacs' "compile" command, to invoke "make install_user -C .." or similar. That makes for fast develop -> debug cycles.

mhasself avatar Mar 12 '19 04:03 mhasself

Better yet, remove setup.py! Closing.

msyriac avatar Aug 15 '24 20:08 msyriac