铁路交通管理的博弈
sim-jop的Python项目详细描述
sim_jop
铁路交通管制的游戏
关于
sim_jop项目的目标是创建铁路交通控制的开源游戏。 如果您想与社区保持联系,请连接到discord。
开发和贡献
在Linux上设置开发环境
# packages needed on Fedora 29
sudo dnf install -y python3-pip
# clone the repository
git clone git@github.com:celestian/sim_jop.git
# setup commit template
git config commit.template .git-commit-template
# git configuration
git config user.name "your_name"
git config user.email "your_email"
# (optionally)
git config user.signingkey your_gpg_key
# create virtual environment
python3 -m venv env
# install requirements
./install.sh
激活开发环境
source env/bin/activate
构建包和发布
pip3 install --upgrade setuptools wheel twine
python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*