I'm developing a small Python package - a bunch of *.py files. It has some dependencies, and I'd like to use virtualenv and buildout to create its own, separated environment for development and I'd like to package it as an Python egg.
What recipe should I use?
Should I put my project into eggs, develop, or parts variable?
Should I keep my code in src, parts or in develop-eggs folder?
And where do I add dependencies then?
I read some tutorials, but they look way too complicated for me - all I need is just a simple example with an explanation.
setup.py testto run my tests and that is it. See this simple package for example.setup.pyto make your code available as a package. Adevelop = .inbuildout.cfgto tell buildout to effectively dopython setup.py developon your local package.parts=is only to tell buildout which sections in its config file to execute.eggs=in the[scripts]section/part is how you configure which eggs/packages you want included in the path of thebin/*scripts buildout generates there.