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

documenting Linux install #210

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

documenting Linux install #210

wants to merge 3 commits into from

Conversation

chrplr
Copy link
Contributor

@chrplr chrplr commented Mar 28, 2023

I have added notes to the Linux install doc, explaining how to install expyriment in a virtual environment, either with pyenv or with anaconda, using python 3.7 (for which pip install expyriment does not fail)

@chrplr
Copy link
Contributor Author

chrplr commented Mar 28, 2023

Hum, I had not intended to push the _screen_io stuff (icon). You can reject this part.

@lindemann09
Copy link
Member

lindemann09 commented Apr 4, 2023 via email

@chrplr
Copy link
Contributor Author

chrplr commented Apr 22, 2023

When, for any reason, installing an environment and an older version of Python is not an option, I clone the repo and use pip install .. This also has the advantage of working with pygame 2.x.

However, when I recently did this ,I got a DEPRECATION message for pip:

PS C:\Users\chris\git\expyriment> pip install .
[...]
DEPRECATION: expyriment is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559

To correct thus, I just added in the main folder a pyproject.toml that I had created for another project, and the pip install . now runs without warning. Here is the content of the pyproject.toml file:

[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"

IT may need to be tailored to better reflect the dependencies of expyriment, but at least, it is a start.

@fladd
Copy link
Member

fladd commented Apr 24, 2023

Thanks for bringing this to our attention! Our build system is a bit more involved and the code in the setup.py needs to be called when building the wheels in order to retrieve version information etc. dynamically. It is not obvious to me how to achieve this with the new build system, though.

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 this pull request may close these issues.

3 participants