On Thu, May 13, 2010 at 3:36 PM, Siebert, Maria <maria.sieb...@hpi.uni-potsdam.de> wrote: > Hi, > > I don't want to get it into the django project itself, so I'm sorry, if I > choose the wrong ml. I'm searching > for informations how to build such a project for other developers, like, > where should this sources be > installed to. With most external projects I found and tried out myself I had > problems integrating them > into our own project without any changes inside the external project. Within > the Django documentation, > I found informations about coding guidelines,but I did not find any best > pratices for embedding such > libraries inside the Django installation. So I hope to get some hints, where > to find such informations.
My suggestion here is to stop looking for Django instructions, and treat this as a Python problem. Django is just another Python library; anything that is good practice for Python is also good practice for Django. Talking about "embedding libraries inside the Django installation" is almost exactly what you *don't* want to do. Django is a standalone library. Your library should be similarly standalone. The very short version is that you need to investigate distutils and setup.py; for more details, here's some reading: http://docs.python.org/distutils/index.html#distutils-index http://www.packtpub.com/article/writing-a-package-in-python You may also want to look into distribute, which is a set of tools that enhances distutils. http://packages.python.org/distribute/ Yours, Russ Magee %-) -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.