Paver-1.2.1/ 0000755 0001750 0001750 00000000000 12152711214 012742 5 ustar almad almad 0000000 0000000 Paver-1.2.1/setup.cfg 0000644 0001750 0001750 00000000073 12152711214 014563 0 ustar almad almad 0000000 0000000 [egg_info]
tag_build =
tag_date = 0
tag_svn_revision = 0
Paver-1.2.1/MANIFEST.in 0000644 0001750 0001750 00000000301 12152711177 014502 0 ustar almad almad 0000000 0000000 include LICENSE.txt
include README.rst
include distutils_scripts/*
recursive-include paver/docs *
include paver-minilib.zip
include setup.py
recursive-include paver/tests *
include pavement.py
Paver-1.2.1/setup.py 0000644 0001750 0001750 00000000341 12152711214 014452 0 ustar almad almad 0000000 0000000 try:
import paver.tasks
except ImportError:
from os.path import exists
if exists("paver-minilib.zip"):
import sys
sys.path.insert(0, "paver-minilib.zip")
import paver.tasks
paver.tasks.main()
Paver-1.2.1/README.rst 0000644 0001750 0001750 00000004155 12152711177 014446 0 ustar almad almad 0000000 0000000 ==============================================
Paver - Easy Scripting for Software Projects
==============================================
.. image:: https://github.com/paver/paver/blob/master/docs/source/_static/paver_banner.jpg?raw=true
:height: 126
:width: 240
:Web: http://packages.python.org/Paver/
:Download: https://pypi.python.org/pypi/Paver/
:Source: http://github.com/paver/paver/
:Keywords: build, scripting, make alternative, svn, git, path.py, documentation,
automation, tasks, virtualenv, integration
--
.. _paver-synopsis:
Paver is a Python-based software project scripting tool along the lines of
Make or Rake. It is not designed to handle the dependency tracking requirements
of, for example, a C program. It is designed to help out with all of your other
repetitive tasks (run documentation generators, moving files about, downloading
things), all with the convenience of Python’s syntax and massive library of code.
Documentation
=============
Current build status:
.. image:: https://secure.travis-ci.org/paver/paver.png?branch=master
`Documentation`_ is hosted on PyPI (docs for development version are on `GitHub `_).
.. _`Documentation`: http://packages.python.org/Paver/
.. _paver-installation:
Installation
============
You can install Paver either via the Python Package Index (PyPI)
or from source.
To install using `pip`,::
$ pip install -U Paver
To install using `easy_install`::
$ easy_install -U Paver
.. _getting-help:
Getting Help
============
.. _mailing-list:
Mailing list
------------
For any discussion about usage or development of Paver, you are welcomed to join
the `paver mailing list`_ .
.. _`paver mailing list`: http://groups.google.com/group/paver/
IRC
---
Come chat with us on IRC. The `#paver`_ channel is located at the `Freenode`_
network.
.. _`#paver`: irc://irc.freenode.net/paver
.. _`Freenode`: http://freenode.net
.. _bug-tracker:
Bug tracker
===========
If you have any suggestions, bug reports or annoyances please report them
to GitHub `issue tracker`_.
.. _`issue tracker`: http://github.com/paver/paver/issues/
Paver-1.2.1/Paver.egg-info/ 0000755 0001750 0001750 00000000000 12152711214 015511 5 ustar almad almad 0000000 0000000 Paver-1.2.1/Paver.egg-info/SOURCES.txt 0000644 0001750 0001750 00000005612 12152711214 017401 0 ustar almad almad 0000000 0000000 LICENSE.txt
MANIFEST.in
README.rst
pavement.py
paver-minilib.zip
setup.py
Paver.egg-info/PKG-INFO
Paver.egg-info/SOURCES.txt
Paver.egg-info/dependency_links.txt
Paver.egg-info/entry_points.txt
Paver.egg-info/not-zip-safe
Paver.egg-info/top_level.txt
distutils_scripts/paver
paver/__init__.py
paver/bzr.py
paver/command.py
paver/defaults.py
paver/doctools.py
paver/easy.py
paver/git.py
paver/misctasks.py
paver/options.py
paver/path.py
paver/path25.py
paver/release.py
paver/runtime.py
paver/setuputils.py
paver/ssh.py
paver/svn.py
paver/tasks.py
paver/version.py
paver/virtual.py
paver/deps/__init__.py
paver/deps/path2.py
paver/deps/path3.py
paver/deps/six.py
paver/docs/.buildinfo
paver/docs/articles.html
paver/docs/bzr.html
paver/docs/changelog.html
paver/docs/cmdline.html
paver/docs/credits.html
paver/docs/doctools.html
paver/docs/features.html
paver/docs/files.html
paver/docs/foreword.html
paver/docs/genindex.html
paver/docs/getting_started.html
paver/docs/index.html
paver/docs/misctasks.html
paver/docs/objects.inv
paver/docs/pavement.html
paver/docs/paverstdlib.html
paver/docs/py-modindex.html
paver/docs/search.html
paver/docs/searchindex.js
paver/docs/setuptools.html
paver/docs/ssh.html
paver/docs/svn.html
paver/docs/tips.html
paver/docs/virtualenv.html
paver/docs/_images/paver_banner.jpg
paver/docs/_sources/articles.txt
paver/docs/_sources/bzr.txt
paver/docs/_sources/changelog.txt
paver/docs/_sources/cmdline.txt
paver/docs/_sources/credits.txt
paver/docs/_sources/doctools.txt
paver/docs/_sources/features.txt
paver/docs/_sources/files.txt
paver/docs/_sources/foreword.txt
paver/docs/_sources/getting_started.txt
paver/docs/_sources/index.txt
paver/docs/_sources/misctasks.txt
paver/docs/_sources/pavement.txt
paver/docs/_sources/paverstdlib.txt
paver/docs/_sources/setuptools.txt
paver/docs/_sources/ssh.txt
paver/docs/_sources/svn.txt
paver/docs/_sources/tips.txt
paver/docs/_sources/virtualenv.txt
paver/docs/_static/ajax-loader.gif
paver/docs/_static/basic.css
paver/docs/_static/comment-bright.png
paver/docs/_static/comment-close.png
paver/docs/_static/comment.png
paver/docs/_static/default.css
paver/docs/_static/doctools.js
paver/docs/_static/down-pressed.png
paver/docs/_static/down.png
paver/docs/_static/file.png
paver/docs/_static/jquery.js
paver/docs/_static/minus.png
paver/docs/_static/paver_banner.jpg
paver/docs/_static/plus.png
paver/docs/_static/pygments.css
paver/docs/_static/searchtools.js
paver/docs/_static/sidebar.js
paver/docs/_static/underscore.js
paver/docs/_static/up-pressed.png
paver/docs/_static/up.png
paver/docs/_static/websupport.js
paver/tests/__init__.py
paver/tests/other_pavement.py
paver/tests/test_doctools.py
paver/tests/test_easy.py
paver/tests/test_git.py
paver/tests/test_options.py
paver/tests/test_path.py
paver/tests/test_setuputils.py
paver/tests/test_svn.py
paver/tests/test_tasks.py
paver/tests/utils.py
paver/tests/data/t1.py
paver/tests/data/t2.py
paver/tests/data/textfile.rst Paver-1.2.1/Paver.egg-info/entry_points.txt 0000644 0001750 0001750 00000000054 12152711214 021006 0 ustar almad almad 0000000 0000000
[console_scripts]
paver = paver.tasks:main
Paver-1.2.1/Paver.egg-info/dependency_links.txt 0000644 0001750 0001750 00000000001 12152711214 021557 0 ustar almad almad 0000000 0000000
Paver-1.2.1/Paver.egg-info/top_level.txt 0000644 0001750 0001750 00000000006 12152711214 020237 0 ustar almad almad 0000000 0000000 paver
Paver-1.2.1/Paver.egg-info/PKG-INFO 0000644 0001750 0001750 00000002623 12152711214 016611 0 ustar almad almad 0000000 0000000 Metadata-Version: 1.1
Name: Paver
Version: 1.2.1
Summary: Easy build, distribution and deployment scripting
Home-page: http://github.com/paver/paver
Author: Lukas Linhart
Author-email: bugs@almad.net
License: UNKNOWN
Description: Paver is a Python-based build/distribution/deployment scripting tool along the
lines of Make or Rake. What makes Paver unique is its integration with
commonly used Python libraries. Common tasks that were easy before remain
easy. More importantly, dealing with *your* applications specific needs and
requirements is also easy.
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.5
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Environment :: Console
Classifier: Topic :: Documentation
Classifier: Topic :: Utilities
Classifier: Topic :: Software Development :: Build Tools
Paver-1.2.1/Paver.egg-info/not-zip-safe 0000644 0001750 0001750 00000000001 12152711210 017733 0 ustar almad almad 0000000 0000000
Paver-1.2.1/PKG-INFO 0000644 0001750 0001750 00000002623 12152711214 014042 0 ustar almad almad 0000000 0000000 Metadata-Version: 1.1
Name: Paver
Version: 1.2.1
Summary: Easy build, distribution and deployment scripting
Home-page: http://github.com/paver/paver
Author: Lukas Linhart
Author-email: bugs@almad.net
License: UNKNOWN
Description: Paver is a Python-based build/distribution/deployment scripting tool along the
lines of Make or Rake. What makes Paver unique is its integration with
commonly used Python libraries. Common tasks that were easy before remain
easy. More importantly, dealing with *your* applications specific needs and
requirements is also easy.
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.5
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Environment :: Console
Classifier: Topic :: Documentation
Classifier: Topic :: Utilities
Classifier: Topic :: Software Development :: Build Tools
Paver-1.2.1/pavement.py 0000644 0001750 0001750 00000017544 12152711177 015156 0 ustar almad almad 0000000 0000000 from paver.easy import *
from paver.release import setup_meta
import paver.doctools
import paver.virtual
import paver.misctasks
from paver.setuputils import setup
options = environment.options
setup(**setup_meta)
options(
minilib=Bunch(
extra_files=['doctools', 'virtual'],
versioned_name=False,
),
sphinx=Bunch(
builddir="build",
sourcedir="source"
),
virtualenv=Bunch(
packages_to_install=["nose", "Sphinx>=0.6b1", "docutils", "virtualenv"],
install_paver=False,
script_name='bootstrap.py',
paver_command_line=None,
dest_dir="virtualenv"
),
cog=Bunch(
includedir="docs/samples",
beginspec="<==",
endspec="==>",
endoutput="<==end==>"
),
deploy=Bunch(
deploydir="blueskyonmars.com/projects/paver"
)
)
# not only does paver bootstrap itself, but it should work even with just
# distutils
if paver.setuputils.has_setuptools:
old_sdist = "setuptools.command.sdist"
options.setup.update(dict(
install_requires=[],
test_suite='nose.collector',
zip_safe=False,
entry_points="""
[console_scripts]
paver = paver.tasks:main
"""
))
else:
old_sdist = "distutils.command.sdist"
options.setup.scripts = ['distutils_scripts/paver']
options.setup.package_data=paver.setuputils.find_package_data("paver", package="paver",
only_in_packages=False)
if paver.doctools.has_sphinx:
@task
@needs('cog', 'paver.doctools.html')
def html():
"""Build Paver's documentation and install it into paver/docs"""
builtdocs = path("docs") / options.sphinx.builddir / "html"
destdir = path("paver") / "docs"
destdir.rmtree_p()
builtdocs.move(destdir)
@task
@needs('html', "minilib", "generate_setup", old_sdist)
def sdist():
"""Builds the documentation and the tarball."""
pass
if paver.virtual.has_virtualenv:
@task
def bootstrap():
"""Build a virtualenv bootstrap for developing paver."""
# we have to pull some private api shenanigans that normal people don't
# because we're bootstrapping paver itself.
paver.virtual._create_bootstrap(options.script_name,
options.packages_to_install,
options.paver_command_line,
options.install_paver,
more_text=""" subprocess.call([join("""
"""bin_dir, 'python'), '-c', """
"""'import sys; sys.path.append("."); """
"""import paver.command; paver.command.main()', """
"""'develop'])""",
dest_dir=options.virtualenv.dest_dir)
@task
def clean():
"""Cleans up this paver directory. Removes the virtualenv traces and
the build directory."""
path("build").rmtree_p()
path("bin").rmtree_p()
path("lib").rmtree_p()
path(".Python").remove_p()
@task
@needs("uncog")
@consume_args
def commit(args):
"""Removes the generated code from the docs and then commits to bzr."""
sh("git commit " + ' '.join(args))
@task
@cmdopts([
("branch=", "b", "Branch from which to publish"),
("docs-branch=", "d", "Docs branch to commit/push to"),
("git-repo=", "g", "Github repository to use"),
("deploy-key=", "k", "Deploy key to use"),
])
def publish_docs(options):
"""Publish current docs/site do paver.github.com"""
# we are going to mess around with files, so do it in temporary place
import os
from subprocess import check_call, CalledProcessError
from tempfile import mkdtemp, mkstemp
current_repo = path(os.curdir).abspath()
branch = getattr(options, 'branch', 'master')
docs_branch = getattr(options, 'docs_branch', 'gh-pages')
repo = getattr(options, 'git_repo', 'git@github.com:paver/paver.git')
try:
safe_clone = path(mkdtemp(prefix='paver-clone-'))
docs_repo = path(mkdtemp(prefix='paver-docs-'))
fd, git = mkstemp(prefix='tmp-git-ssh-')
# TODO: I strongly believe there have to be better way to provide custom
# identity file for git, but cannot find one...so, workaround
f = os.fdopen(fd, 'w')
f.writelines(["#!/bin/sh", os.linesep, "ssh%s $*" % (" -i "+options.deploy_key if getattr(options, "deploy_key", None) else "")])
f.close()
os.chmod(git, int('777', 8))
safe_clone.chdir()
sh('git init')
check_call(['git', 'remote', 'add', '-t', branch, '-f', 'origin', 'file://'+str(current_repo)], env={"GIT_SSH" : git})
check_call(['git', 'checkout', branch], env={"GIT_SSH" : git})
check_call(['python', os.path.join(str(current_repo), "distutils_scripts", "paver"), 'html'], env={
'PYTHONPATH' : os.path.join(str(current_repo))
})
docs_repo.chdir()
sh('git init')
check_call(['git', 'remote', 'add', '-t', docs_branch, '-f', 'origin', repo], env={"GIT_SSH" : git})
check_call(['git', 'checkout', docs_branch], env={"GIT_SSH" : git})
check_call(['rsync', '-av', os.path.join(str(safe_clone), 'paver', 'docs')+'/', str(docs_repo)])
sh('git add *')
#TODO: '...from revision abc'
try:
check_call(['git', 'commit', '-a', '-m', "Commit auto-generated documentation"])
except CalledProcessError:
# usually 'working directory clean'
pass
else:
check_call(['git', 'push', 'origin', '%s:%s' % (docs_branch, docs_branch)], env={"GIT_SSH" : git})
finally:
safe_clone.rmtree_p()
docs_repo.rmtree_p()
os.remove(git)
@task
def release():
""" Release new version of Paver """
# To avoid dirty workdirs and various artifacts, offload complete environment
# to temporary directory located outside of current worktree
import os
from subprocess import check_call, CalledProcessError
from tempfile import mkdtemp, mkstemp
release_clone = path(mkdtemp(prefix='paver-release-'))
current_repo = path(os.curdir).abspath()
branch = getattr(options, 'branch', 'master')
# clone current branch to temporary directory
try:
release_clone.chdir()
sh('git init')
check_call(['git', 'remote', 'add', '-t', branch, '-f', 'origin', 'file://'+str(current_repo)])
check_call(['git', 'checkout', '-b', branch, "origin/%s" % branch])
# install release requirements to be sure we are generating everything properly
sh('pip install -r release-requirements.txt')
# build documentation
sh('paver html')
# create source directory
sh('paver sdist')
# create source directory and upload it to PyPI
sh('paver sdist upload')
# also upload sphinx documentation
sh('paver upload_sphinx --upload-dir=paver/docs')
finally:
release_clone.rmtree_p()
@task
@consume_args
def bump(args):
import paver.version
version = map(int, paver.version.VERSION.split('.')[0:3])
if len(args) > 0 and args[0] == 'major':
version[1] += 1
else:
version[2] += 1
version = map(str, version)
module_content = "VERSION='%s'\n" % '.'.join(version)
# bump version in paver
with open(path('paver/version.py'), 'w') as f:
f.write(module_content)
# bump version in sphinx
conf = []
with open(path('docs/source/conf.py'), 'r') as f:
for line in f.readlines():
if line.startswith('version = '):
line = "version = '%s'\n" % '.'.join(version[0:2])
elif line.startswith('release = '):
line = "release = '%s'" % '.'.join(version[0:3])
conf.append(line)
with open(path('docs/source/conf.py'), 'w') as f:
f.writelines(conf)
Paver-1.2.1/paver-minilib.zip 0000644 0001750 0001750 00000132615 12152711214 016234 0 ustar almad almad 0000000 0000000 PK B paver/__init__.py PK B ni paver/defaults.pyPN0V;Te`dfaadH^ߓW8 {~~M< "$:.ep&c-`)PpwMBp91[ek+eT̐ɡw92 e.E 5IC9p jSPT]'K$@a6tyP'N@;v|g̏-
,n~ߨB:r(7m
Rv<."ۛr/(_õp7߶>PK BpG paver/release.pyTMk1|q&khH|L&i{wka#i\C^iY$#ca-l9biu&͵B+3z^=[lr(`摾J
GaG0W}a6j+Rjxn dspފE@0HHyKT3K>o,u ~WZ,X&ӏG1ZFf+*P@/KB]/b_UZi¯ui%b@E+ȕp,%eRBAc%P>T^nY9BwmuGHQc>^gKQ"j\3.&N]Ix
Fj;ۜǕjܗ6KxsMLZ;Eh9R,gVޛhV"ؒ}w伛20TiG6qznY]m-9V
^=H|״!M2̣c8 u2'zSلMvEhbUSQr p71Vo痳kwL೭RpC*u}.|uٷ˳CZ[>-0L|p(VɅ7peMF!Rx>ҿ"GΏ^w.<{\PK BB\ L
paver/path.pyVYo8~"E_H=fч4=֎,|$M['P%_\\pL8;zXLHɤ
0X@: pt"(kZg{y;LQB}z0(2M~fXV!sza,'`-G?2'v{^%Cig:u*@{74Ua
I΅[$ra,?EqxZw+.R9,)tְKfv à̑m(eQݚ'hNz0<(;zD:#4LY=E,N8Q{ wc~} 34~\weE'N*z~ȳ2ozCO]bƶErN_:XGYV+5J*^'Il:\U'ibRlh~>+$7Eh>A@ 5{&Tl((J0DFWD`ReAל81%V) Kk`
t8п 4JfX?48l
G do
:밇F-!HZǦ^D30iM@f
(g sY8%OsG+E4ܱ
G8b 7BrX ~E@'tATFQ}1mLvL0|uq;=:QΙg\zD606ul݉ *ET ~BxZҝYҽ^5@[,KeLՑ;m>jnekyT>opWPK B4 #% paver/setuputils.py]] yϫ[r顽hLKW,)$^'Id'-ؕLágٻZZ(VJuYWJcRTG? f(*m#5½5ʽ9Pr@ft[λQ5Jn;am!]>b!HxE;ZFz8#2L RJ(QYn`ْS,2D[i!ZّleY, iZXQ/S~'?w9\G2O=KQE͌
0 9x](@Ә5ӏ`a'W;4^[~,RR%"RKd~㛻ݯ)'j(|mx[{Y5W(h,2ߗRp4@dT`6V$9&xۊ`A=(
QZڪ́"F5GJ\:$Ms`?57/ނ4","z? {9U/> Bwoo8]YoE!Vdjq2T`'A̍at`3yu^Quⁿ-}p ZlQU@nHUɼ[^nGYeF[hk