Commits

dan mackinlay  committed 2613980

go to vanilla distribute from pavement

  • Participants
  • Parent commits d8f90fa

Comments (0)

Files changed (3)

File NEWS.txt

Empty file added.

File pavement.py

-# [[[section imports]]]
-from paver.easy import *
-import paver.doctools
-from paver.setuputils import setup
-# [[[endsection]]]
-
-# [[[section setup]]]
-setup(
-    name="ReSocializedText",
-    packages=['resocializedtext'],
-    version="1.0",
-    url="http://bitbucket.org/howthebodyworks/resocializedtext/",
-    author="Dan MacKinlay",
-    author_email="resocializedtext@email.possumpalace.org"
-)
-# [[[endsection]]]
-
-# [[[section sphinx]]]
-options(
-    sphinx=Bunch(
-        builddir="_build"
-    )
-)
-# [[[endsection]]]
-
-# [[[section minilib]]]
-options(
-    minilib = Bunch(
-        extra_files=["doctools"]
-    )
-)
-# [[[endsection]]]
-
-# [[[section sdist]]]
-@task
-@needs('generate_setup', 'minilib', 'setuptools.command.sdist')
-def sdist():
-    """Overrides sdist to make sure that our setup.py is generated."""
-    pass
-# [[[endsection]]]
-
-# [[[section html]]]
-@task
-@needs('paver.doctools.html')
-def html(options):
-    """Build the docs and put them into our package."""
-    destdir = path('resocializedtext/docs')
-    destdir.rmtree()
-    # [[[section builtdocs]]]
-    builtdocs = path("docs") / options.builddir / "html"
-    # [[[endsection]]]
-    builtdocs.move(destdir)
-# [[[endsection]]]    
-
-# the pass that follows is to work around a weird bug. It looks like
-# you can't compile a Python module that ends in a comment.
-pass
-import os
-if os.path.exists("paver-minilib.zip"):
-    import sys
-    sys.path.insert(0, "paver-minilib.zip")
+from setuptools import setup, find_packages
+import sys, os
 
-import paver.tasks
-paver.tasks.main()
+here = os.path.abspath(os.path.dirname(__file__))
+README = open(os.path.join(here, 'README.txt')).read()
+NEWS = open(os.path.join(here, 'NEWS.txt')).read()
+
+
+version = '0.1'
+
+install_requires = [
+    "docutils"
+]
+
+
+setup(name='resocializedtext',
+    version=version,
+    description="social-media-relevent ReST directives",
+    long_description=README + '\n\n' + NEWS,
+    classifiers=[
+      "Topic :: Text Processing :: Markup",
+      "Topic :: Software Development :: Documentation",
+      "Topic :: Documentation"
+    ],
+    keywords='ReStructuredText social_media',
+    author='dan mackinlay',
+    author_email='resocializedtext@email.possumpalace.org',
+    url='',
+    license='BSD',
+    packages=find_packages('resocializedtext'),
+    package_dir = {'': 'resocializedtext'},include_package_data=True,
+    zip_safe=False,
+    install_requires=install_requires,
+    # entry_points={
+    #     'console_scripts':
+    #         ['resocializedtext=resocializedtext:main']
+    # }
+)