Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python 2.7 enum34 required for run, and build #334

Closed
ddkn opened this issue Mar 10, 2018 · 1 comment · Fixed by #347
Closed

python 2.7 enum34 required for run, and build #334

ddkn opened this issue Mar 10, 2018 · 1 comment · Fixed by #347

Comments

@ddkn
Copy link

ddkn commented Mar 10, 2018

Hello everyone,

For python < v3.4+ builds, enum34 is required for build, and install. Is it possible to add 'setup_requires' for enum34 for versions less that 3.4?

For our package system, we need to set RUN_DEPENDS for packages to know to bring in py27-enum34. However, upon building enum34 is also required: relevant snippet:

File "setup.py", line 74, in run
from llvmlite.utils import get_library_files
File "llvmlite/init.py", line 6, in
raise ImportError("could not find the 'enum' module; please install "
ImportError: could not find the 'enum' module; please install it using e.g. 'p
ip install enum34'
*** Error code

Any help would be greatly appreciated, as we are looking to update the llvmlite to 0.22 in ports.

See here: FreeBSD bug 226463

@ixmatus
Copy link

ixmatus commented May 30, 2018

I just ran into this issue too, it would be nice if setup_requires specified enum34 as a dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants