Skip to main content

Vertically extends the POP-based grains project and adds the cowsay and fortune GRAINS

Project description

** A simple example of a vertically app merged grains project **


With git:

git clone
pip install -e grains

With pip:

pip install corn_cowsay


After installation the grains command should now be available if it wasn’t already


install requirements-test.txt with pip and run pytest:

pip install -r grains/requirements-test.txt
pytest grains/tests


Instructions for extending grains like this project does

Install pop:

pip install --upgrade pop

Create a new directory for the project:

mkdir grains_{project}
cd grains_{project}

Use pop-seed to generate the structure of a project that extends grains:

pop-seed -t v pop_{kernel} -d grains
  • “-t v” specifies that this is a vertically app-merged project

  • “-d grains” says that we want to implement the dynamic name of “grains”

Add “grainsv2” to the requirements.txt:

echo "grainsv2" >> requirements.txt

Note* url based reqs aren’t supported on older versions of setuptools To pip install your vertically app-merged project install grains manually:

pip install -e git+

And that’s it! Go to town extending grains Follow the conventions you see in

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

grains-cow-fortune-2.tar.gz (3.4 kB view hashes)

Uploaded source

Built Distribution

grains_cow_fortune-2-py3-none-any.whl (2.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page