Ticket #11372: django-minisetuptools.patch

File django-minisetuptools.patch, 706 bytes (added by Kenneth Arnold, 15 years ago)
  • setup.py

     
    1 from distutils.core import setup
    2 from distutils.command.install_data import install_data
    3 from distutils.command.install import INSTALL_SCHEMES
     1#!/usr/bin/env python
     2try:
     3    from setuptools.core import setup
     4    from setuptools.command.install_data import install_data
     5    from setuptools.command.install import INSTALL_SCHEMES
     6except ImportError:
     7    from distutils.core import setup
     8    from distutils.command.install_data import install_data
     9    from distutils.command.install import INSTALL_SCHEMES
     10
    411import os
    512import sys
    613
Back to Top