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 installas 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
pipenvavailable through PATH (e.g. installed throughpipsiso as to contain it to USER PATH env).python3.7
Docker
Execute the equivalent of the Makefiles 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_quickif 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_allpasses before pushing tomasterbranch (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>).
Release files for x10-blackjack 1.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| x10-blackjack-1.1.4.tar.gz | 10.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| x10_blackjack-1.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.8 kB
Release files / x10-blackjack-1.1.4.tar.gz
| Download URL | x10-blackjack-1.1.4.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce0021ae1bd6681c6b0f1f2f06363c75eaec38cf89fe524875994710615cb3ac
|
|
BLAKE2b-256 checksum How to use checksums |
90310d7e41907b8996f9485cc5fa47ef4dd2db2212261ecb7ef71ff20b734f2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Release files / x10_blackjack-1.1.4-py3-none-any.whl
| Download URL | x10_blackjack-1.1.4-py3-none-any.whl |
|---|---|
| Size | 14.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5520c017dc2a54912df75d4d136f44853e43bf20c1f33f98f9bc0fae474c1d4
|
|
BLAKE2b-256 checksum How to use checksums |
e08013bf7df1612821d9c1892fd0934417e0b504d84ff64c2e44ca66f53da17c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|