wordnik / wordnik-python

Wordnik Python public library
227 stars 47 forks source link

package seems to be broken #17

Open randdvorak opened 11 years ago

randdvorak commented 11 years ago

rands-MacBook-Pro:wordnik-python rand$ python setup.py install running install running bdist_egg running egg_info writing wordnik.egg-info/PKG-INFO writing top-level names to wordnik.egg-info/top_level.txt writing dependency_links to wordnik.egg-info/dependency_links.txt reading manifest file 'wordnik.egg-info/SOURCES.txt' writing manifest file 'wordnik.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.6-universal/egg running install_lib running build_py creating build/bdist.macosx-10.6-universal/egg creating build/bdist.macosx-10.6-universal/egg/wordnik copying build/lib/wordnik/init.py -> build/bdist.macosx-10.6-universal/egg/wordnik copying build/lib/wordnik/AccountApi.py -> build/bdist.macosx-10.6-universal/egg/wordnik creating build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/init.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/ApiTokenStatus.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/AudioFile.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/AuthenticationToken.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/Bigram.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/Citation.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/ContentProvider.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/Definition.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/DefinitionSearchResults.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/Example.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/ExampleSearchResults.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/ExampleUsage.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/Facet.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/FacetValue.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/Frequency.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/FrequencySummary.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/Label.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/Note.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/Related.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/ScoredWord.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/ScrabbleScoreResult.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/Sentence.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/SimpleDefinition.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/SimpleExample.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/StringValue.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/Syllable.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/TextPron.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/User.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/WordList.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/WordListWord.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/WordObject.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/WordOfTheDay.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/WordSearchResult.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/models/WordSearchResults.py -> build/bdist.macosx-10.6-universal/egg/wordnik/models copying build/lib/wordnik/swagger.py -> build/bdist.macosx-10.6-universal/egg/wordnik copying build/lib/wordnik/WordApi.py -> build/bdist.macosx-10.6-universal/egg/wordnik copying build/lib/wordnik/WordListApi.py -> build/bdist.macosx-10.6-universal/egg/wordnik copying build/lib/wordnik/WordListsApi.py -> build/bdist.macosx-10.6-universal/egg/wordnik copying build/lib/wordnik/WordsApi.py -> build/bdist.macosx-10.6-universal/egg/wordnik byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/init.py to init.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/AccountApi.py to AccountApi.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/init.py to init.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/ApiTokenStatus.py to ApiTokenStatus.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/AudioFile.py to AudioFile.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/AuthenticationToken.py to AuthenticationToken.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/Bigram.py to Bigram.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/Citation.py to Citation.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/ContentProvider.py to ContentProvider.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/Definition.py to Definition.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/DefinitionSearchResults.py to DefinitionSearchResults.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/Example.py to Example.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/ExampleSearchResults.py to ExampleSearchResults.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/ExampleUsage.py to ExampleUsage.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/Facet.py to Facet.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/FacetValue.py to FacetValue.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/Frequency.py to Frequency.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/FrequencySummary.py to FrequencySummary.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/Label.py to Label.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/Note.py to Note.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/Related.py to Related.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/ScoredWord.py to ScoredWord.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/ScrabbleScoreResult.py to ScrabbleScoreResult.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/Sentence.py to Sentence.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/SimpleDefinition.py to SimpleDefinition.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/SimpleExample.py to SimpleExample.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/StringValue.py to StringValue.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/Syllable.py to Syllable.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/TextPron.py to TextPron.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/User.py to User.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/WordList.py to WordList.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/WordListWord.py to WordListWord.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/WordObject.py to WordObject.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/WordOfTheDay.py to WordOfTheDay.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/WordSearchResult.py to WordSearchResult.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/models/WordSearchResults.py to WordSearchResults.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/swagger.py to swagger.pyc SyntaxError: ('invalid syntax', ('build/bdist.macosx-10.6-universal/egg/wordnik/swagger.py', 112, 23, ' for (key, val) in objDict.iteritems()\n'))

byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/WordApi.py to WordApi.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/WordListApi.py to WordListApi.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/WordListsApi.py to WordListsApi.pyc byte-compiling build/bdist.macosx-10.6-universal/egg/wordnik/WordsApi.py to WordsApi.pyc creating build/bdist.macosx-10.6-universal/egg/EGG-INFO copying wordnik.egg-info/PKG-INFO -> build/bdist.macosx-10.6-universal/egg/EGG-INFO copying wordnik.egg-info/SOURCES.txt -> build/bdist.macosx-10.6-universal/egg/EGG-INFO copying wordnik.egg-info/dependency_links.txt -> build/bdist.macosx-10.6-universal/egg/EGG-INFO copying wordnik.egg-info/top_level.txt -> build/bdist.macosx-10.6-universal/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... wordnik.init: module references file wordnik.models.init: module references file creating 'dist/wordnik-2.1-py2.6.egg' and adding 'build/bdist.macosx-10.6-universal/egg' to it removing 'build/bdist.macosx-10.6-universal/egg' (and everything under it) Processing wordnik-2.1-py2.6.egg creating /Library/Python/2.6/site-packages/wordnik-2.1-py2.6.egg Extracting wordnik-2.1-py2.6.egg to /Library/Python/2.6/site-packages SyntaxError: ('invalid syntax', ('/Library/Python/2.6/site-packages/wordnik-2.1-py2.6.egg/wordnik/swagger.py', 112, 23, ' for (key, val) in objDict.iteritems()\n'))

Adding wordnik 2.1 to easy-install.pth file

Installed /Library/Python/2.6/site-packages/wordnik-2.1-py2.6.egg Processing dependencies for wordnik==2.1 Finished processing dependencies for wordnik==2.1

mrjf commented 11 years ago

Hi randdvorak, are you able to use Python 2.7? There are a few things that won't work with 2.6.

randdvorak commented 11 years ago

Sure, that's no problem. I didn't realize it needed 2.7. You can close. Sorry for the confusion.

mrjf commented 11 years ago

My fault for not documenting, have added the note to the README. Thanks for reporting! Let me know if you run into any other issues.

hugovk commented 10 years ago

(This issue can be closed.)