Skip to content

Commit 8616063

Browse files
author
github-actions
committed
[TRANSFER][PUBLISH]
1 parent c8e3238 commit 8616063

File tree

4 files changed

+5
-68
lines changed

4 files changed

+5
-68
lines changed

.github/workflows/build-single-exchange.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
build_for_pypi:
9-
if: ${{ github.event.repository.name != 'ccxt-python-single-exchange' && contains(github.event.head_commit.message, '[BUILD]') }}
9+
if: ${{ github.event.repository.name != 'ccxt-python-single-exchange' && (contains(github.event.head_commit.message, '[BUILD]') || contains(github.event.head_commit.message, '[PUBLISH]')) }}
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout code
@@ -56,6 +56,7 @@ jobs:
5656
npm run pypi-packager
5757
5858
- name: PyPi upload
59+
if: contains(github.event.head_commit.message, '[PUBLISH]')
5960
run: |
6061
cd ./temp_pypi
6162
python -m twine upload dist/*

README.md

Lines changed: 0 additions & 62 deletions
This file was deleted.

build/pypi-packager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class pypi {
5151
`include = ["src/${this.exchange}"]\n` +
5252
`\n` +
5353
`[tool.hatch.build.targets.wheel]\n` +
54-
`packages = ["${this.exchange}"]\n` +
54+
`packages = ["src/${this.exchange}"]\n` +
5555
`\n` +
5656
`[project]\n` +
5757
`name = "${pypiPackageNameSanitized}"\n` +

build/templates/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# __exchangeName__-python
2-
Python SDK (sync and async) for __ExchangeName__ with Rest and WS capabilities.
3-
4-
You can check __ExchangeName__'s docs here: [Docs](__LINK_TO_OFFICIAL_EXCHANGE_DOCS__)
5-
2+
Python SDK (sync and async) for __ExchangeName__ cryptocurrency exchange with Rest and WS capabilities.
63

74
You can check the SDK docs here: [SDK](https://docs.ccxt.com/#/exchanges/__exchangeName__)
5+
You can check __ExchangeName__'s docs here: [Docs](__LINK_TO_OFFICIAL_EXCHANGE_DOCS__)
86

97
*This package derives from CCXT and allows you to call pretty much every endpoint by either using the unified CCXT API or calling the endpoints directly*
108

0 commit comments

Comments
 (0)