Commits

Tim Heap committed 8ba28b6

Fix up setup.py

Comments (0)

Files changed (1)

 #!/usr/bin/env python
 
 try:
-	from setuptools import setup, find_packages
+    from setuptools import setup, find_packages
 except ImportError:
-	from ez_setup import use_setuptools
-	use_setuptools()
-	from setuptools import setup, find_packages
+    from ez_setup import use_setuptools
+    use_setuptools()
+    from setuptools import setup, find_packages
 
 setup(
     name='django-featured-item',
     author='Tim Heap',
     author_email='heap.tim@gmail.com',
     url='https://bitbucket.org/tim_heap/django-featured-item',
-    packages=['featured_item',],
-    install_requires = ['Django>=1.4'],
+    packages=find_packages(),
+    install_requires=['Django>=1.4'],
     package_data={},
     classifiers=[
         'Environment :: Web Environment',
         'Framework :: Django',
     ],
 )
-