[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian setup for python django development





Le 28.10.2013 18:12, Gary Roach a écrit :
Hi all,

I have been trying to set up a python, django, mysql development
project and am really confused. All of the documentation seems to
ignore the apt-get installation methods used by
ebian and its derivatives. Does pip install the same as Aptitude ( I
don't think so). If I use virtualenvwrapper, how does this fit with
the normal debian (wheezy) installation. I also need git which just
confuses the situation even more.

I do not know a lot of things about python development, but I think you can first try to not question yourself about how to do things. Just do them.

For git and mysql, simply use apt-get ( or aptitude or synaptic or whatever you prefer ). Things will work out of the box. Of course, you will have to setup mysql to create DBs, but this will be the same as on any other OS. Or almost ( rights management might be more complicated than on windows, but you will probably find solutions when you will have error messages ). For django, it seems that there is a package named libqdjango-dev, and python is already installed because lot of tools depends on it.

The documentation centers on Windoz
and Mac and ignores the automation of the Debian installation.

I think that simply installing those things will make things working fine. Except if you need versions or libraries that are not packaged in Debian, there is really no need for complex documentations about how to setup a development environment. I think that this is why people just do not make such documentations.

As you said, things are automated. Nothing to do, if you do not have specific needs not currently handled by the system ( for example, very recent version of a lib, or lib that are not in the repo at all ).

If this is off topic please point me in the right direction.

You are in the right place.

Any help with straightening out my brain in this areal will be
sincerely appreciated.

Gary R.


Reply to: