If you can't read please download the document
Upload
quintagroup
View
1.220
Download
0
Embed Size (px)
Citation preview
Default
Packages, releases, QGSkel
Andriy Mylenkyy, Volodymyr Cherepanyak Quintagroup 2009
Package creation
Create and put package into SVN with single command
Creates package
Creates /branches /tags /trunk in SVN
Puts your package into:
http://svn/aproject/packages/my.package/trunk
paster create -t basic_namespace -svn-repository http://svn/aproject/packages my.package
Package creation
You are ready to do the initial checkin upon package creation
dist.qg structure
dist.quintagroup.com/repository/simple (PSC)
dist.quintagroup.com/proxy/dist/ (dist.plone.org)
dist.quintagroup.com/proxy/pypi/ (pypi.python.org)
dist.quintagroup.com/proxy/eggs/ (just eggs)
dist.quintagroup.com/proxy/products/ (just archives)
Package releasing
ObjectivesCreate tag with release version
Build egg and/or archive of the package
Rollout the package to distribution server
Package releasing
Package releasing
Helpful toolscollective.releaser
zest.releaser
Package releasing
Package releasing
Configuration#example .pypirc file[distutils]index-servers = dist.qg
[dist.qg]repository:http://dist.quintagroup.com/repositoryusername:admin password:secretrelease-command = mregister sdist build_mo bdist_egg muploadrelease-packages = ^quintagroup\..*
Package releasing
Package releasing
Single line releaseCheck the package documentationpython setup.py check --restructuredtext --strict
Releasepython setup.py release
Package releasing
Package releasing
Broken packages, missing filesNew Fedora 11, fresh SVN
Use MANIFEST.in#examplerecursive-include docs *recursive-include quintagroup *global-exclude *py[co] *mo
Package releasing
Buildout structure
QGSkel
Install with easy_install
Create new buildout with a single line paster create -t qgplone3_buildout new.project
References
http://projects.quintagroup.com/lab/wiki/docs/development-and-releases
http://projects.quintagroup.com/products/browser/QGSkel/trunk
Click to edit the title text format