Include project files when installing #7732
-
I just started using Poetry, but I'm having trouble emulating FileNotFoundError: [Errno 2] No such file or directory: 'cyclone/shaders/all.vert' Basically, the files in This is my toml file: [tool.poetry]
name = "cyclone"
version = "0.1.0"
description = "A 2D batch renderer written in Cython, Python, and OpenGL."
authors = ["williamhCode <83525937+williamhCode@users.noreply.github.com>"]
license = "LGPL-3.0-or-later"
readme = "README.md"
include = [
"cyclone/shaders/*",
]
[tool.poetry.dependencies]
python = "^3.11"
Cython = "^0.29.33"
cython-lint = "^0.14.0"
pyglm = "^2.7.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api" |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I realized that I have to include package_data. Previously it was working because i was in the directory of the project. |
Beta Was this translation helpful? Give feedback.
-
@williamhCode Can you post the |
Beta Was this translation helpful? Give feedback.
I realized that I have to include package_data. Previously it was working because i was in the directory of the project.