Skip to main content

Tools for building mosaik scenarios

Project description

mosaik.ScenarioTools

Tools for building mosaik scenarios.

Status

pipeline status coverage report

Prerequisites

Under Windows:

  • install Python 3.7 64 bit for all users

Under Ubuntu

apt install python3.7

Ensuring pip

python -m ensurepip

Creating the Virtual Environment

Under Linux

python3.7 -m venv venv

Under Windows

"C:\Program Files\Python37\python.exe" -m venv venv

Activating the Base Virtual Environment

Under Linux:

source venv/bin/activate

Under Windows:

venv\Scripts\activate.bat

Installing tox

python -m pip install --upgrade -r requirements.d/venv.txt

Activating Runtime Virtual Environment

Under Linux:

source .tox/py37/bin/activate

Under Windows:

.tox\py37\Scripts\activate.bat

Installing Runtime Requirements

python -m pip install --upgrade -r requirements.d/base.txt

Testing

pytest

Deactivating the Virtual Environment

deactivate

Freezing the Virtual Environment Requirements

Under Linux

 venv/bin/python -m pip uninstall pkg_resources
 venv/bin/python -m pip freeze --all --exclude-editable > requirements.d/venv.txt
 # And remove line beginning with package name

Under Windows

 venv\Scripts\python -m pip freeze --all --exclude-editable > requirements.d/venv.txt
# And remove line beginning with package name

Freezing the Tox Requirements

Under Linux

.tox/py36/bin/python -m pip uninstall pkg_resources
.tox/py36/bin/python -m pip freeze --all --exclude-editable > requirements.d/base.txt
# And remove line beginning with package name

Under Windows

.tox\py36\Scripts\python.exe -m pip freeze --all --exclude-editable > requirements.d\base.txt
# And remove line beginning with package name

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file mosaik.ScenarioTools-0.1.0rc20190806210620-py3-none-any.whl.

File metadata

File hashes

Hashes for mosaik.ScenarioTools-0.1.0rc20190806210620-py3-none-any.whl
Algorithm Hash digest
SHA256 8d8ae761f56866ebd61c6c8f4aa417a059b61a6682a9b7c354ecf3c0d1a500de
MD5 31bb567e558e2e5d700090925fe3b40f
BLAKE2b-256 92996af00f2b1abfe8f763a8f3d1f10b9e5135102058b25eac34c03852bb359e

See more details on using hashes here.

Supported by

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