Commits

Kevin Wetzels  committed 800c1fd

Add setup.py and run_tests.py

  • Participants
  • Parent commits 5be2e87

Comments (0)

Files changed (3)

 .DS_Store
 **/*.pyc
 *.pyc
+dist
+django_stdfields.egg-info

File run_tests.py

+# -*- coding: utf-8 -*-
+from django.conf import settings
+from django.core.management import call_command
+
+def main():
+    settings.configure(
+        INSTALLED_APPS = (
+            'django.contrib.contenttypes',
+            'stdfields',
+        ),
+        DATABASES = {
+            'default': {
+                'ENGINE': 'django.db.backends.sqlite3'
+            }
+        }
+    )
+
+    # Fire off the tests
+    call_command('test', 'stdfields')
+
+if __name__ == '__main__':
+    main()
+# -*- coding: utf-8 -*-
+from distutils.core import setup
+from setuptools import find_packages
+
+setup(
+    name='django-stdfields',
+    version='0.0.1',
+    author=u'Kevin Wetzels',
+    author_email=u'kevin@roam.be',
+    url='https://bitbucket.org/roam/django-stdfields',
+    packages=['stdfields', 'stdfields.templatetags'],
+    license='BSD licence, see LICENCE',
+    description='Extra model and form fields for Django: minutes and ' + \
+                'enumerations',
+    long_description=open('README.rst').read(),
+    zip_safe=False,
+)