diff --git a/.gitignore b/.gitignore index 004a8d7..fab747d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,7 @@ *.pyc .coverage +*.egg-info +build +dist +setup.py +paver-minilib.zip diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..305c839 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include *.py *.zip diff --git a/setup.py b/pavement.py similarity index 60% rename from setup.py rename to pavement.py index d2e947a..d2d1baa 100644 --- a/setup.py +++ b/pavement.py @@ -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