Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install build twine

- name: Build package
run: python -m build
Expand All @@ -40,6 +40,9 @@ jobs:
run: |
sha256sum dist/*.tar.gz > dist/fireblocks-cli-${GITHUB_REF##*/}.tar.gz.sha256

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.12.2

- name: Upload Release Assets to GitHub
uses: softprops/action-gh-release@v2
with:
Expand All @@ -50,7 +53,3 @@ jobs:
create_release: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.12
22 changes: 12 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,18 @@ dependencies = [
[project.scripts]
fireblocks-cli = "fireblocks_cli.main:app"

[tool.poetry.group.dev.dependencies]
mypy = "^1.15.0"
pyinstaller = "^6.13.0"
black = "^25.1.0"
reuse = { version = "^5.0.2", python = ">=3.9,<4.0" }
pre-commit = "^4.2.0"
build = "^1.2.2.post1"
twine = "^6.1.0"
pytest = "^8.3.5"
types-toml = "^0.10.8.20240310"
[project.optional-dependencies]
dev = [
"mypy>=1.15.0",
"pyinstaller>=6.13.0",
"black>=25.1.0",
"reuse>=5.0.2; python_version >= '3.9' and python_version < '4.0'",
"pre-commit>=4.2.0",
"build>=1.2.2.post1",
"twine>=6.1.0",
"pytest>=8.3.5",
"types-toml>=0.10.8.20240310"
]

[build-system]
requires = ["setuptools>=65", "wheel"]
Expand Down