Packages, releases, QGSkel Andriy Mylenkyy, Volodymyr Cherepanyak    Quintagroup 2009
 
Package creation Create and put package into SVN with single command <ul><li>Creates package
Creates /branches /tags /trunk in SVN
Puts your package into: </li></ul><ul>http://svn/aproject/packages/my.package/trunk paster cr eate -t basic_namespace  -–s...
Package creation <ul>You are ready to do the initial checkin upon package creation </ul>
dist.qg structure <ul><li>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) </li></ul>
Package releasing Objectives <ul><li>Create tag with release version
Build egg and/or archive of the package
Upcoming SlideShare
Loading in...5
×

Packages, Releases, QGSkel

901

Published on

Packages creation, Repository structure, MANIFEST.in, Packages releasing, QGSkel buildout

Published in: Technology
1 Comment
1 Like
Statistics
Notes
No Downloads
Views
Total Views
901
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
4
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide

Packages, Releases, QGSkel

  1. 1. Packages, releases, QGSkel Andriy Mylenkyy, Volodymyr Cherepanyak  Quintagroup 2009
  2. 3. Package creation Create and put package into SVN with single command <ul><li>Creates package
  3. 4. Creates /branches /tags /trunk in SVN
  4. 5. Puts your package into: </li></ul><ul>http://svn/aproject/packages/my.package/trunk paster cr eate -t basic_namespace -–svn-repository http://svn/aproject/packages my.package </ul>
  5. 6. Package creation <ul>You are ready to do the initial checkin upon package creation </ul>
  6. 7. dist.qg structure <ul><li>dist.quintagroup.com/repository/simple (PSC)
  7. 8. dist.quintagroup.com/proxy/dist/ (dist.plone.org)
  8. 9. dist.quintagroup.com/proxy/pypi/ (pypi.python.org)
  9. 10. dist.quintagroup.com/proxy/eggs/ (just eggs)
  10. 11. dist.quintagroup.com/proxy/products/ (just archives) </li></ul>
  11. 12. Package releasing Objectives <ul><li>Create tag with release version
  12. 13. Build egg and/or archive of the package
  13. 14. Rollout the package to distribution server </li></ul>Package releasing
  14. 15. Package releasing Helpful tools <ul><li>collective.releaser
  15. 16. zest.releaser </li></ul>Package releasing
  16. 17. Package releasing Configuration #example .pypirc file [distutils] index-servers = dist.qg [dist.qg] repository:http://dist.quintagroup.com/repository username:admin password:secret release-command = mregister sdist build_mo bdist_egg mupload release-packages = ^quintagroup..* Package releasing
  17. 18. Package releasing Single line release <ul><li>Check the package documentation
  18. 19. python setup.py check --restructuredtext --strict
  19. 20. Release
  20. 21. python setup.py release </li></ul>Package releasing
  21. 22. Package releasing Broken packages, missing files <ul><li>New Fedora 11, fresh SVN
  22. 23. Use MANIFEST.in
  23. 24. #example
  24. 25. recursive-include docs *
  25. 26. recursive-include quintagroup *
  26. 27. global-exclude *py[co] *mo </li></ul>Package releasing
  27. 28. Buildout structure
  28. 29. QGSkel <ul><li>Install with easy_install
  29. 30. Create new buildout with a single line
  30. 31. paster create -t qgplone3_buildout new.project </li></ul>
  31. 32. References <ul><li>http://projects.quintagroup.com/lab/wiki/docs/development-and-releases
  32. 33. http://projects.quintagroup.com/products/browser/QGSkel/trunk </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×