plone / guillotina

Python AsyncIO data API to manage billions of resources
https://guillotina.readthedocs.io/en/latest/
Other
187 stars 51 forks source link

Create custom requirements file for training installation #899

Open svx opened 4 years ago

svx commented 4 years ago

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 😄

bloodbare commented 4 years ago

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 commented 4 years ago

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

svx commented 4 years ago

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

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

svx commented 4 years ago

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