Closed
Description
Python 3.6.0b4 (default, Nov 22 2016, 05:30:12) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import setuptools
>>> print(setuptools.__version__)
30.1.0
>>> from setuptools.depends import get_module_constant
>>> print(get_module_constant("setuptools", "__version__"))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\dev\timesheet\dist\Windows_NT\python\lib\site-packages\setuptools\depends.py", line 164, in get_module_constant
return extract_constant(code, symbol, default)
File "C:\dev\timesheet\dist\Windows_NT\python\lib\site-packages\setuptools\depends.py", line 195, in extract_constant
const = code.co_consts[arg]
IndexError: tuple index out of range
I ask because I'm trying to use python-memcached
which uses this get_module_constant
and fails like that. Thanks.
Metadata
Metadata
Assignees
Labels
No labels