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.0rc20190724201510-py3-none-any.whl.

File metadata

  • Download URL: mosaik.ScenarioTools-0.1.0rc20190724201510-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for mosaik.ScenarioTools-0.1.0rc20190724201510-py3-none-any.whl
Algorithm Hash digest
SHA256 03db6a8752d06d8c9c1e4426419b971a67ccb1ff696bbb5d9f427c6f2a86045c
MD5 dbfc7e071b53ce29229f6fb36e137721
BLAKE2b-256 b45dbfa7faf835a0c32da663f4150e1d3e29f3030dba67127353697cdc9aaf3e

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