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

File metadata

  • Download URL: mosaik.ScenarioTools-0.1.0rc20190724212525-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.0rc20190724212525-py3-none-any.whl
Algorithm Hash digest
SHA256 5cee0240829eff396138dfadce8e06b961e8390a1c153b144ea21bbc1bb5e665
MD5 2af0161af307393361a239efba1f6f44
BLAKE2b-256 e269da69d4223b4fdd0e8198a1cfb4498e4d146dc3d013cdefcb7ce7de0a83e2

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