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