Your SlideShare is downloading. ×
0
Packages, Releases, QGSkel
Packages, Releases, QGSkel
Packages, Releases, QGSkel
Packages, Releases, QGSkel
Packages, Releases, QGSkel
Packages, Releases, QGSkel
Packages, Releases, QGSkel
Packages, Releases, QGSkel
Packages, Releases, QGSkel
Packages, Releases, QGSkel
Packages, Releases, QGSkel
Packages, Releases, QGSkel
Packages, Releases, QGSkel
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Packages, Releases, QGSkel

884

Published on

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

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

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

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 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
  • 4. Creates /branches /tags /trunk in SVN
  • 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>
  • 6. Package creation <ul>You are ready to do the initial checkin upon package creation </ul>
  • 7. dist.qg structure <ul><li>dist.quintagroup.com/repository/simple (PSC)
  • 8. dist.quintagroup.com/proxy/dist/ (dist.plone.org)
  • 9. dist.quintagroup.com/proxy/pypi/ (pypi.python.org)
  • 10. dist.quintagroup.com/proxy/eggs/ (just eggs)
  • 11. dist.quintagroup.com/proxy/products/ (just archives) </li></ul>
  • 12. Package releasing Objectives <ul><li>Create tag with release version
  • 13. Build egg and/or archive of the package
  • 14. Rollout the package to distribution server </li></ul>Package releasing
  • 15. Package releasing Helpful tools <ul><li>collective.releaser
  • 16. zest.releaser </li></ul>Package releasing
  • 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
  • 18. Package releasing Single line release <ul><li>Check the package documentation
  • 19. python setup.py check --restructuredtext --strict
  • 20. Release
  • 21. python setup.py release </li></ul>Package releasing
  • 22. Package releasing Broken packages, missing files <ul><li>New Fedora 11, fresh SVN
  • 23. Use MANIFEST.in
  • 24. #example
  • 25. recursive-include docs *
  • 26. recursive-include quintagroup *
  • 27. global-exclude *py[co] *mo </li></ul>Package releasing
  • 28. Buildout structure
  • 29. QGSkel <ul><li>Install with easy_install
  • 30. Create new buildout with a single line
  • 31. paster create -t qgplone3_buildout new.project </li></ul>
  • 32. References <ul><li>http://projects.quintagroup.com/lab/wiki/docs/development-and-releases
  • 33. http://projects.quintagroup.com/products/browser/QGSkel/trunk </li></ul>

×