Ask Your Question
0

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

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

MhAckNI gravatar image

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

I wish to install SimpleCV on my system to contribute as a developer to the project. I roughly followed the installation guide at https://github.com/ingenuitas/SimpleCV#installation to install SimpleCV on my Fedora17 machine.

Should python setup.py 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
0

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

kscottz gravatar image

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

edit flag offensive delete link more
0

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

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

Comments

1

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 -0600 )edit

@kscottz: understood.Thank you.

MhAckNI gravatar imageMhAckNI ( 2013-04-10 02:21:48 -0600 )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

Stats

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

Seen: 301 times

Last updated: Apr 08 '13