simon-game

command line simon game


License
MIT
Install
pip install simon-game==0.0.2

Documentation

simon-game

Python package for playing the game Simon

Table of Contents

  1. Motivation
  2. Installation
  3. Create python package

Motivation

Installation

  • Create a python3 virtual environment

    python3 -m venv ./venv

  • Start virtual environment

    source venv/bin/activate

  • Stop virtual environment

    deactivate

  • Install project dependencies

    (virtual env must be started to install dependencies)

    pip install -r requirements.txt

Create python package

  • Install twine and create distribution folder
pip install twine
python setup.py sdist
  • Upload to the pypi test repository
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
pip install --index-url https://test.pypi.org/simple/ simon_game
  • Upload to the pypi repository
twine upload dist/*
pip install simon_game