Skip to main content

Tools for building mosaik scenarios

Project description

mosaik.Scenario-Tools

Tools for building mosaik scenarios.

Status

pipeline status coverage report libraries status license badge PyPI version Python Versions

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.8 -m venv venv

Under Windows

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

Installing tox

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

Installing Runtime Requirements

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

Testing

pytest

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.exe -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

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