creativecommons / quantifying

quantify the size and diversity of the commons--the collection of works that are openly licensed or in the public domain
MIT License
22 stars 30 forks source link

[Feature] Requirements.txt to install preqs dependencies for python. #63

Closed cyai closed 11 months ago

cyai commented 11 months ago

Problem

The user has to manually install the dependencies before running tools.sh file.

Description

Having a requirements.txt file with the minimum dependencies like black, flake8 etc which the user might be able to install at once after creating the virtual environment for the project.

Implementation

cyai commented 11 months ago

Submitted a PR for the same issue here #64

Paulooh007 commented 11 months ago

The repo uses pipenv to manage dependencies, which eliminates the need for a requirements.txt file. The requirements are in Pipfile.lock

cyai commented 11 months ago

Makes sense, so we don't need to use pip? if not then I'll close the issue!

Paulooh007 commented 11 months ago

You'll need to first install pipenv (pip install pipenvshould do), then run pipenv sync --dev. Like in the readme.