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

*.py runtime files are not installed using CMake #2293

Open
adam-urbanczyk opened this issue Aug 24, 2023 · 2 comments
Open

*.py runtime files are not installed using CMake #2293

adam-urbanczyk opened this issue Aug 24, 2023 · 2 comments

Comments

@adam-urbanczyk
Copy link

See here

install(TARGETS lfortran_unif_runtime)

I think the file misses something like

install(DIRECTORY . PATTERN *.py DESTINATION ...)
@adam-urbanczyk
Copy link
Author

This is likely causing the following error on win when installing via conda.

lpython example.py
semantic error: Could not find the module 'lpython'. If an import path is available, please use the `-I` option to specify it
 --> example.py:1:1
  |
1 | from lpython import i32
  | ^^^^^^^^^^^^^^^^^^^^^^^ 


Note: if any of the above error or warning messages are not clear or are lacking
context please report it to us (we consider that a bug that must be fixed).

@certik
Copy link
Contributor

certik commented Aug 24, 2023

I think this is the same error as here: conda-forge/lpython-feedstock#16 (comment), indeed, we need to fix it.

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

No branches or pull requests

2 participants