Skip to content

Commit

Permalink
Add a bdist_mpkg task + fix setup import issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
cournape committed Mar 27, 2009
1 parent 7b910f1 commit a5efc92
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pavement.py
Expand Up @@ -24,7 +24,8 @@
import paver.path
from paver.easy import options, Bunch, task, needs, dry, sh, call_task

from setup import FULLVERSION
setup_py = __import__("setup")
FULLVERSION = setup_py.FULLVERSION

# Wine config for win32 builds
WINE_SITE_CFG = ""
Expand Down Expand Up @@ -179,7 +180,11 @@ def mpkg_name():
(FULLVERSION, pyver, maj, min)

@task
@needs("setuptools.bdist_mpkg", "doc")
def bdist_mpkg():
sh("python setupegg.py bdist_mpkg")

@task
#@needs("bdist_mpkg", "doc")
def dmg():
pyver = ".".join([str(i) for i in sys.version_info[:2]])
builddir = paver.path.path("build") / "dmg"
Expand Down

0 comments on commit a5efc92

Please sign in to comment.