converting from distutils to paver

This commit is contained in:
Dan Buch 2009-11-28 14:16:01 -05:00
parent b932174e34
commit 5ca2f9de34
3 changed files with 14 additions and 8 deletions

5
.gitignore vendored
View File

@ -1,2 +1,7 @@
*.pyc
.coverage
*.egg-info
build
dist
setup.py
paver-minilib.zip

1
MANIFEST.in Normal file
View File

@ -0,0 +1 @@
include *.py *.zip

View File

@ -1,8 +1,8 @@
import sys
from distutils.core import setup
from paver.easy import *
from paver.setuputils import setup
SETUP_ARGS = dict(
SETUP_ARGS = Bunch(
name='OneTimePad',
version='0.1.0',
author='Dan Buch',
@ -14,10 +14,10 @@ SETUP_ARGS = dict(
)
def main():
setup(**SETUP_ARGS)
return 0
setup(**SETUP_ARGS)
if __name__ == '__main__':
sys.exit(main())
@task
@needs(['generate_setup', 'minilib', 'setuptools.command.sdist'])
def sdist():
pass