Ask Your Question

Right way to build/install SimpleCV (source folder cluttered with .pyc files)

asked 2013-04-05 13:11:57 -0500

MhAckNI gravatar image

updated 2013-04-08 12:57:41 -0500

I wish to install SimpleCV on my system to contribute as a developer to the project. I roughly followed the installation guide at to install SimpleCV on my Fedora17 machine.

Should python install be always run in the source folder? Usually in CMake based C++ projects, it is a good practice to build in a folder separate from the source folder. Should n t python projects be built that way?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-04-08 08:57:44 -0500

kscottz gravatar image

I think you will want to run sudo python develop. This should force python to reload SimpleCV every time you import the library.

edit flag offensive delete link more

answered 2013-04-08 12:56:31 -0500

MhAckNI gravatar image

@kscottz: so this should be run from inside the SimpleCV source folder. Is it?
I guess i dont need sudo since i am working on a virtualenv i created specially for SimpleCV. And yes, i cloned the develop branch.No problems with that.
The question was in fact about the right way to do a build. I now see that my source folder is filled with .pyc files. That looks terrible and the sight of source folders getting filled with .pyc files somehow does not seem elegant to me, as compared to my experience in C++ with CMake based projects where the build is always out-of-source. Hence the question.

edit flag offensive delete link more



I think this pretty standard for python, if it is a functional problem we can address it, it is a purely aesthetic problem, it will probably go to the bottom of the queue.

kscottz gravatar imagekscottz ( 2013-04-09 08:28:31 -0500 )edit

@kscottz: understood.Thank you.

MhAckNI gravatar imageMhAckNI ( 2013-04-10 02:21:48 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-04-05 13:11:57 -0500

Seen: 344 times

Last updated: Apr 08 '13