For verification of library development
Project description
How to set up
docker compose -f ./Docker/docker-compose.yaml up --build -d
docker exec -it momiji bash
アップロード方法
必要な編集が終わったら,まずは test から実行する.
test
poetry run pytest -v
を実行すると,testsにあるテストが実行される.その結果を見て問題がなければ次に進む.
install
次に
poetry install
を実行して Python に自作ライブラリをインストールする.
build
poetry build
とすると,publish に必要なファイル群が生成される.
publish
Publish に必要な情報を入力する.
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry config pypi-token.testpypi {Test PyPIのAPI Token}
poetry publish -r testpypi
とするとこで,Test PyPI にパッケージをアップロードできる.
poetry config pypi-token.pypi {PyPIのAPI Token}
poetry publish
とするとこで,PyPI にパッケージをアップロードできる.
このリポジトリのブランチ
以下の順序でマージしていく main←staging←dev
一人がプルリクをチェックしてマージ dev_XXX で開発・プロジェクト管理
連動させる staging : testpypi main : pypi
base テンプレートとして、ベースとなるこのリポジトリを取り込むため (template が更新され、別のプロジェクトもその変更を取り入れたいとき、base ブランチにフェッチして取り込んで、dev にマージする) → このリポジトリは、常に main と base が同等にないといけない。(開発用のライブラリ用のリポジトリは全然違くて良い。出発点だけ揃える。)
参考 : Github branch
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file momiji-0.1.3.tar.gz.
File metadata
- Download URL: momiji-0.1.3.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/5.15.0-97-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99b5dd3233bf35fee6438ebb3cf0ad6a8055266d0567a5bf4ca1198ac224b310
|
|
| MD5 |
2731d3329d17be0e5ff13eaa68a7c417
|
|
| BLAKE2b-256 |
bbb8e87186e59a73584e46ed0a3cfab0bfede91d4e008fb08d04af2c595348e7
|
File details
Details for the file momiji-0.1.3-py3-none-any.whl.
File metadata
- Download URL: momiji-0.1.3-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/5.15.0-97-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2ab2c6cf68bf44b3ec55bd1c82b011ab28a60a726621074962fb101ec2c8030
|
|
| MD5 |
2070c27d94708a9b952ab411c64746f8
|
|
| BLAKE2b-256 |
d2b6395dc62b22a87453e01cce061ff888b1dad4c31e49da7d99366bce2fed62
|