From 3c7c438b99a986b0035914616e00561c4c1a7eef Mon Sep 17 00:00:00 2001 From: Michael Elsdoerfer Date: Sun, 27 Jul 2008 01:55:17 +0200 Subject: [PATCH] added distutils setup script --- .bzrignore | 2 ++ MANIFEST.in | 3 +++ setup.py | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 .bzrignore create mode 100644 MANIFEST.in create mode 100644 setup.py diff --git a/.bzrignore b/.bzrignore new file mode 100644 index 0000000..eaea68a --- /dev/null +++ b/.bzrignore @@ -0,0 +1,2 @@ +MANIFEST +dist diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..785affa --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,3 @@ +include README +include LICENSE +include MANIFEST.in \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..72ce82a --- /dev/null +++ b/setup.py @@ -0,0 +1,32 @@ +import os +from distutils.core import setup + +def find_packages(root): + # so we don't depend on setuptools; from the Storm ORM setup.py + packages = [] + for directory, subdirectories, files in os.walk(root): + if '__init__.py' in files: + packages.append(directory.replace(os.sep, '.')) + return packages + +setup( + name = 'django-tables', + version = '0.1', + description = 'Render QuerySets as tabular data in Django.', + author = 'Michael Elsdoerfer', + author_email = 'michael@elsdoerfer.info', + license = 'BSD', + url = 'http://launchpad.net/django-tables', + classifiers = [ + 'Development Status :: 3 - Alpha', + 'Environment :: Web Environment', + 'Framework :: Django', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: BSD License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Topic :: Internet :: WWW/HTTP', + 'Topic :: Software Development :: Libraries', + ], + packages = find_packages('django_tables'), +) -- 2.26.2