Python   Paver

         Kansai Unconference 2009/12/19
                           id:heavenshell
• PHP
 • Zend Framework

• JavaScript
• Python,Vim
•
•           …

    •
        |
Python…
•
• Web
           PHP

 •               Java(Cubby   )

• Python                 …
•
             …

•                 Python

•                          k

•   Twitter bot
•

    • Ruby Autotest
    • Stagehand_Testrunner
• PEAR
 • Python   pip

• Github
            tar.gz
•
• Zend_Tool
  •
•
    .zfproject.xml
•
•                  Rake
    …

• Python

•          Paver
What’s Paver
• Paver is a Python-based software project
    scripting tool along the lines of Make or
    Rake. (http://www.blueskyonmars.com/
    projects/paver/pavement.html)
•
•
Paver kwsk
@task
@cmdopts([('username=', 'u', 'Username')])
def test(options):
  sh('date')
  print options['username']
$ paver test -u foo
---> pavement.test
date
2009 11 16            23 37   40   JST
foo
Demo
Paver   kwsk
•

•                 (ry

    •
•           (ry
Paver            kwsk
• svn
  • git            sh('git pull')

• ssh (scp)
•         Python
•
    • paver
      http://d.hatena.ne.jp/mopemope/
      20090410/p1
•
関西アンカンファレンス Python の Paver について

関西アンカンファレンス Python の Paver について

  • 1.
    Python Paver Kansai Unconference 2009/12/19 id:heavenshell
  • 2.
    • PHP •Zend Framework • JavaScript • Python,Vim
  • 3.
    • • … • |
  • 4.
    Python… • • Web PHP • Java(Cubby ) • Python …
  • 5.
    … • Python • k • Twitter bot
  • 6.
    • Ruby Autotest • Stagehand_Testrunner
  • 7.
    • PEAR •Python pip • Github tar.gz
  • 8.
    • • Zend_Tool • • .zfproject.xml
  • 9.
    • • Rake … • Python • Paver
  • 10.
    What’s Paver • Paveris a Python-based software project scripting tool along the lines of Make or Rake. (http://www.blueskyonmars.com/ projects/paver/pavement.html) • •
  • 11.
    Paver kwsk @task @cmdopts([('username=', 'u','Username')]) def test(options): sh('date') print options['username'] $ paver test -u foo ---> pavement.test date 2009 11 16 23 37 40 JST foo
  • 12.
  • 13.
    Paver kwsk • • (ry • • (ry
  • 14.
    Paver kwsk • svn • git sh('git pull') • ssh (scp) • Python
  • 15.
    • paver http://d.hatena.ne.jp/mopemope/ 20090410/p1 •