Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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


Download files

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

Files for mosaik.ScenarioTools, version 0.1.0rc20190806210620
Filename, size File type Python version Upload date Hashes
Filename, size mosaik.ScenarioTools-0.1.0rc20190806210620-py3-none-any.whl (17.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page