diff --git a/setup.py b/setup.py index ee62651..c89a3ad 100755 --- a/setup.py +++ b/setup.py @@ -9,7 +9,12 @@ # URL: # For license information, see LICENSE.TXT -from distutils.core import setup + +try: + from setuptools import setup +except ImportError: + from distutils.core import setup + import nltk setup( @@ -17,7 +22,7 @@ ## Distribution Metadata name = "nltk_contrib", description = "NLTK-Contrib", - + version = nltk.__version__, url = nltk.__url__, long_description = nltk.__longdescr__, @@ -28,7 +33,7 @@ author = nltk.__author__, author_email = nltk.__author__, # platforms = , - + ############################################# ## Package List packages = ['nltk_contrib',