Commit 4d1e2d7f authored by Marc Abramowitz's avatar Marc Abramowitz

setup.py: Use setuptools when invoked with bdist_{egg,wheel}.

This makes it easier to build eggs and wheels of 0.19.x releases; the
master branch already uses setuptools.
parent c2ddf294
from distutils.core import setup, Extension
import sys
if 'bdist_egg' in sys.argv or 'bdist_wheel' in sys.argv:
from setuptools import setup, Extension
else:
from distutils.core import setup, Extension
from distutils.sysconfig import get_python_lib
import os, os.path
import sys
try:
import platform
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment