guillotina icon indicating copy to clipboard operation
guillotina copied to clipboard

Create custom requirements file for training installation

Open svx opened this issue 5 years ago • 4 comments

Hi, would it be OK with you if I create a custom requirements.txt file like training-requirements.txt ?

The idea is to put Guillotina and cookiecutter in that file, we could even pin the versions :)

My main intention is to shorten the docs, with that we could say something like

pip install -r training-requirements.txt

It is a bit more user friendly 😄

svx avatar Feb 17 '20 16:02 svx

I would like that training does not have any requirement that standard guillotina has. Somthing like pip install -r guillotina[devel] that installs development tooling would be cool

bloodbare avatar Feb 17 '20 20:02 bloodbare

Would be great also for the contrib requirements, a piece of code on setup.py that reads the requirements.txt files and adds as extras_require section

bloodbare avatar Feb 17 '20 20:02 bloodbare

@bloodbare afaik the extra requirement for the training is currently cookieccutter.

I will look into `pip install -r guillotina[something] 😄

svx avatar Feb 18 '20 09:02 svx

@bloodbare pip install -e '.[dev]' is now working in https://github.com/plone/guillotina/tree/add-dev-install

svx avatar Feb 19 '20 12:02 svx