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

File metadata

  • Download URL: mosaik.ScenarioTools-0.1.0rc20190716091756-py3-none-any.whl
  • Upload date:
  • Size: 14.7 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.0rc20190716091756-py3-none-any.whl
Algorithm Hash digest
SHA256 7d2af42ca9af2e3dee22ccaa7b807dfb084e2b56b9b6460b4336f86ac6b55e54
MD5 002786c860eed47906bec589630c3a6e
BLAKE2b-256 bd3f4579fa694e551dfb6bc63a9f845b0cc10a4d91fc91ec2f3632404db086fd

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