Packages, Releases, QGSkel

  • 842 views
Uploaded on

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

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

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
842
On Slideshare
0
From Embeds
0
Number of Embeds
3

Actions

Shares
Downloads
3
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
    • Creates package
    • 4. Creates /branches /tags /trunk in SVN
    • 5. Puts your package into:
      http://svn/aproject/packages/my.package/trunk paster cr eate -t basic_namespace -–svn-repository http://svn/aproject/packages my.package
  • 6. Package creation
      You are ready to do the initial checkin upon package creation
  • 7. dist.qg structure
    • 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)
  • 12. Package releasing Objectives
    • Create tag with release version
    • 13. Build egg and/or archive of the package
    • 14. Rollout the package to distribution server
    Package releasing
  • 15. Package releasing Helpful tools
    • collective.releaser
    • 16. zest.releaser
    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
    • Check the package documentation
    • 19. python setup.py check --restructuredtext --strict
    • 20. Release
    • 21. python setup.py release
    Package releasing
  • 22. Package releasing Broken packages, missing files
    • 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
    Package releasing
  • 28. Buildout structure
  • 29. QGSkel
    • Install with easy_install
    • 30. Create new buildout with a single line
    • 31. paster create -t qgplone3_buildout new.project
  • 32. References
    • http://projects.quintagroup.com/lab/wiki/docs/development-and-releases
    • 33. http://projects.quintagroup.com/products/browser/QGSkel/trunk