illume  committed 1022a53

Added optional setuputils support with -setuputils option to

  • Participants
  • Parent commits 2ef1988

Comments (0)

Files changed (1)

 from distutils.extension import read_setup_file
 from distutils.command.install_data import install_data
+# allow optionally using setuptools for bdist_egg.
+if "-setuptools" in sys.argv:
+    from setuptools import setup, find_packages
+    sys.argv.remove ("-setuptools")
 # NOTE: the pyobjc, and bdist_mpkg_support is for darwin.
     import bdist_mpkg_support