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

Missing documentation on how to set the project up locally #985

Closed
bfontaine opened this issue Mar 2, 2023 · 2 comments
Closed

Missing documentation on how to set the project up locally #985

bfontaine opened this issue Mar 2, 2023 · 2 comments
Labels

Comments

@bfontaine
Copy link

Hello,
After seeing @akx’s comment on #725 (comment) I thought I would clone the project and see what I can do to fix the issue, but I haven’t found any documentation regarding the local setup.

I figured out you have to run make test-env and then activate the virtualenv or use ./test-env/bin/pybabel but I’m not sure if I need to do something else. make test doesn’t work on Ubuntu 20.04.1 LTS because there’s no python executable: it’s either python2 or python3 (#984), and even then it fails if you didn’t activate the virtualenv before running make test because it can’t find pytest. I activated the virtualenv and ran make test; it found pytest but failed on a ModuleNotFoundError: No module named 'freezegun'. I’m not sure if that’s normal and/or what step did I miss.

@akx
Copy link
Member

akx commented Mar 3, 2023

You'll have an easier time if you pip install tox, then run make tox-test. The tox configuration includes the dependencies required for testing.

@akx akx added the question label Mar 3, 2023
akx added a commit that referenced this issue Mar 3, 2023
@akx
Copy link
Member

akx commented Mar 6, 2023

Closed via #986 👍

@akx akx closed this as completed Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants