Skip to content

Commit 5424512

Browse files
author
dzsekijo
committed
add support for Python egg creation
1 parent d36a421 commit 5424512

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
# This setup.py based on that of shout-python (py bindings for libshout,
55
# part of the icecast project, http://svn.xiph.org/icecast/trunk/shout-python)
66

7-
from distutils.core import setup, Extension
7+
try:
8+
from setuptools import setup
9+
except ImportError:
10+
from distutils.core import setup
11+
from distutils.core import Extension
812
import os
913
import sys
1014

0 commit comments

Comments
 (0)