Packages, Releases, QGSkel
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Packages, Releases, QGSkel

on

  • 1,380 views

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

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

Statistics

Views

Total Views
1,380
Views on SlideShare
1,359
Embed Views
21

Actions

Likes
1
Downloads
3
Comments
1

6 Embeds 21

http://plug.org.ua 7
http://talk.quintagroup.com 5
http://www.plug.org.ua 5
http://ploneua.quintagroup.com 2
http://www.slideshare.net 1
http://www.slideee.com 1

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Packages, Releases, QGSkel Presentation 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