Permalink
Browse files

Set zip_safe in setup.py to prevent egg creation.

This is a work around for a bug in Django that prevents detection of management commands embedded in packages installed as setuptools eggs.
  • Loading branch information...
1 parent 1274a8d commit f89678d9e6d000419e246ee3fb847a4c59c0c9eb @jezdez jezdez committed Mar 12, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 setup.py
View
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-from distutils.core import setup
+from setuptools import setup
setup(
name='django-haystack',
@@ -34,4 +34,5 @@
'Programming Language :: Python',
'Topic :: Utilities'
],
+ zip_safe=False,
)

0 comments on commit f89678d

Please sign in to comment.