From: Michael Elsdoerfer Date: Sat, 26 Jul 2008 23:55:17 +0000 (+0200) Subject: added distutils setup script X-Git-Tag: 0.2~43 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=232471651a3e603d12cbb03e9809499c10b1368d;p=django-tables2.git added distutils setup script --- 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'), +)