Skip to main content

Vertically extends the POP-based corn project and adds the cowsay and fortune CORNS

Project description

System information discovery and asset tracking

INSTALLATION

With git:

git clone https://gitlab.com/saltstack/pop/corn.git
pip install -e corn

With pip:

pip install corn_cowsay

EXECUTION

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

TESTING

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

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

VERTICAL APP-MERGING

Instructions for extending corns like this project does

Install pop:

pip install --upgrade pop

Create a new directory for the project:

mkdir corn_{project}
cd corn_{project}

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

pop-seed -t v pop_{kernel} -d corn
  • “-t v” specifies that this is a vertically app-merged project
  • “-d corn” says that we want to implement the dynamic name of “corn”

Add “corn” to the requirements.txt:

echo "corn" >> requirements.txt

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

pip install -e git+https://gitlab.com/saltstack/pop/corn.git#egg=chunkies

And that’s it! Go to town extending corns Follow the conventions you see in gitlab.com/satlstack/corn

Project details


Release history Release notifications

This version

1

Download files

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

Files for corn-cowsay, version 1
Filename, size File type Python version Upload date Hashes
Filename, size corn_cowsay-1-py3-none-any.whl (3.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size corn_cowsay-1.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page