enthought / enthought/glfwpy

Win32 platform uses developers home directory for includes

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The setup.py script contains the following config for Win32 targets:

elif sys.platform == 'win32':
ext_modules = [Extension("glfwpy.glfw", ["glfwpy/glfw.pyx"],
libraries=['glfw', 'opengl32'],
include_dirs=['C:\Users\dman\Desktop\glfw-2.7.6\include'],
library_dirs=['C:\Users\dman\Desktop\glfw-2.7.6\lib\win32']
)]

These should be made to reference a known path, perhaps relative to the glfwpy directory, and the README updated with where to place the GLFW C source.

Perhaps the best thing to do is include a copy of GLFW source inside the glfwpy project.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.