Commits

Ahmad Khayyat  committed 0a59a0d

Use setuptools find_packages()

Fixes issue #7 by including management.commands in the PyPI
distribution. They were not included before.

  • Participants
  • Parent commits 61de5f3

Comments (0)

Files changed (1)

-from distutils.core import setup
+from setuptools import setup, find_packages
 
 import os
 if os.path.exists("README.txt"):
     author_email = "akhayyat@gmail.com",
     license = "BSD",
     url = "https://bitbucket.org/akhayyat/mezzanine-pagedown",
+    setup_requires=("setuptools"),
     install_requires=(
         "setuptools",
         "filebrowser_safe >= 0.2.13",
         "mezzanine >= 1.3.0",
         "markdown",),
-    packages = [
-        "mezzanine_pagedown",
-    ],
+    packages = find_packages(),
     package_data = {
         "mezzanine_pagedown": [
             "templates/mezzanine_pagedown/*.html",