A small blackjack game.
Project description
Blackjack
Usage
Perform the equivalent of the below line;
pipenv install --python 3.7 x10-blackjack
(Tip: can also replace pipenv install --python 3.7
with just pip
).
And then, from within the same (hopefully virtual) environment you've now installed x10-blackjack
into, execute with something equivalent to;
pipenv run blackjack
If you instead want to install via Git
Ensure you've got python3.7
and pipenv
available on $PATH
.
- PS: https://pipenv.pypa.io/en/latest/install/#installing-pipenv
Then perform
make install
as referenced in Developer/Installation steps.
Developer Usage
Automatic pipeline
This repository has a pipeline triggering on any and all commits pushed. (Also merge-requests created).
So, if pipeline passes okay, then all is good. Read on for further details on how to set-up dev-environment locally/manually.
Requirements
pipenv
available through PATH (e.g. installed throughpipsi
so as to contain it to USER PATH env).python3.7
Docker
Execute the equivalent of the Makefile
s make docker
(and thus nothing besides docker
is required on developer machine).
Installation steps
git clone <clone url>
cd <into cloned repo folder root>
make install
Development iteration steps
<modify code>
make check_all
(ormake check_quick
if you don't want to run slower integration tests).make run
<feature/change specific test(s)>
Repeat any steps (or sequence of them) as needed untilmake check_all
passes before pushing tomaster
branch (ideally...).
Upload to PyPI manually
- First create package;
make package
- Then upload
pipenv run twine upload dist/*
Note: The command in list-item #2 relies on the variablesTWINE_USERNAME="__token__"
andTWINE_PASSWORD=<token string>
having been set.
Upload to PyPI automatically (read: with (GitLab) pipeline)
Push a git tag
where the name of the tag is a semantic version (<major>.<minor>.<patch>
).
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 Distribution
Built Distribution
Hashes for x10_blackjack-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fd82705876f21cc4938608d4e18001762f8510affb1d2f390a3f61b6f7a2df2 |
|
MD5 | ec91d8099aae2e3e102a1539089a4b14 |
|
BLAKE2b-256 | 98b7d0c3b0e298bd9abd3a6c3218187cf1d548cd42c35ab628e35106fa33963b |