Commits

Mikhail Korobov  committed a206cdd

Fixed packaging: setup.py is now executable, static files are included in distribution + django.contrib.staticfiles support is added

  • Participants
  • Parent commits e414928

Comments (0)

Files changed (3)

+recursive-include colour_field/static *.css
+recursive-include colour_field/static *.js
+recursive-include colour_field/static *.png

File colour_field/models.py

+# hello, django.contrib.staticfiles!
+#!/usr/bin/env python
 from setuptools import setup
 
 setup(
     url = "http://bitbucket.org/schinckel/django-colour-field/",
     author = "Matthew Schinckel",
     author_email = "matt@schinckel.net",
-    packages = [
-        "colour_field",
-    ],
+    packages = ["colour_field"],
+    include_package_data = True,
+    zip_safe=False,
 )