Loading README.md +1 −45 Original line number Diff line number Diff line Loading @@ -416,47 +416,3 @@ Contributions are welcome! Feel free to open issues or submit pull requests. ## License This project is licensed under the MIT License. See the `LICENSE` file for details. No newline at end of file --- ### 📦 Publish to ci.tno.nl/gitlab (For developers only) #### 1. Configure `.pypirc` Create a `.pypirc` file in your home directory: - Linux/macOS: `~/.pypirc` - Windows: `%USERPROFILE%\.pypirc` ```ini [distutils] index-servers = gitlab-pythermogis [gitlab-pythermogis] repository = https://ci.tno.nl/gitlab/api/v4/projects/18271/packages/pypi username = __token__ password = <your_personal_token> ``` > Replace `<your_personal_token>` with your GitLab PAT. --- #### 2. Build the Package ```bash pixi run python -m build ``` This will generate `.whl` and `.tar.gz` files in the `dist/` directory. --- #### 3. Upload to GitLab ```bash pixi run twine upload -r gitlab-pythermogis dist/* ``` If `.pypirc` is set up correctly, this will upload the package to the GitLab registry. Loading
README.md +1 −45 Original line number Diff line number Diff line Loading @@ -416,47 +416,3 @@ Contributions are welcome! Feel free to open issues or submit pull requests. ## License This project is licensed under the MIT License. See the `LICENSE` file for details. No newline at end of file --- ### 📦 Publish to ci.tno.nl/gitlab (For developers only) #### 1. Configure `.pypirc` Create a `.pypirc` file in your home directory: - Linux/macOS: `~/.pypirc` - Windows: `%USERPROFILE%\.pypirc` ```ini [distutils] index-servers = gitlab-pythermogis [gitlab-pythermogis] repository = https://ci.tno.nl/gitlab/api/v4/projects/18271/packages/pypi username = __token__ password = <your_personal_token> ``` > Replace `<your_personal_token>` with your GitLab PAT. --- #### 2. Build the Package ```bash pixi run python -m build ``` This will generate `.whl` and `.tar.gz` files in the `dist/` directory. --- #### 3. Upload to GitLab ```bash pixi run twine upload -r gitlab-pythermogis dist/* ``` If `.pypirc` is set up correctly, this will upload the package to the GitLab registry.