Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Using setuptools instead of distutils. #19

Open
wants to merge 1 commit into from

1 participant

@dongweiming

When use distutils.core. You can see it:

/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'

In fact, you want to install dependencies are not installed. need to be using setuptools instead of distutils.

To see this url get more: Differences between distribute, distutils, setuptools and distutils2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 28, 2013
  1. @dongweiming
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 1 deletion.
  1. +4 −1 setup.py
View
5 setup.py
@@ -22,7 +22,10 @@
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
################################################################################
-from distutils.core import setup
+try:
+ from setuptools import setup
+except ImportError:
+ from distutils.core import setup
setup(
name='Dex',
Something went wrong with that request. Please try again.