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

Why pip? #3212

Closed
DavdSamuel opened this issue Nov 22, 2023 · 2 comments
Closed

Why pip? #3212

DavdSamuel opened this issue Nov 22, 2023 · 2 comments

Comments

@DavdSamuel
Copy link
Contributor

In the file CONTRIBUTING.md there is a section called "Consider Documentation":

Consider Documentation
Consider whether the change you made would benefit from documentation - if the feature has any user impact at all, the answer is almost certainly yes! Documentation can be found in the docs directory. There are some additional dependencies required to build the documentation. These dependencies can be installed by running (from the docs directory):
pip install -r requirements.txt

But in the section Prerequisites:

Prerequisites
Rich uses poetry for packaging and dependency management. To start developing with Rich, install Poetry using the recommended method.
Next, you'll need to create a fork (your own personal copy) of the Rich repository, and clone that fork on to your local machine. GitHub offers a great tutorial for this process here. After following this guide, you'll have a local copy of the Rich project installed.
Enter the directory containing your copy of Rich (cd rich).
Poetry can be used to create an isolated virtual environment for the project:
poetry shell

Why? There is a method for use the command pip install -r requirements.txt? This look like a bit weird but i am a new contributor. If there isn't a methot to do the command in poetry i will use the command in the contribuition guide.

Copy link

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory

Copy link

I hope we solved your problem.

If you like using Rich, you might also enjoy Textual

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

1 participant