Skip to content

Commit 2764c89

Browse files
committed
package release changes
1 parent 67d9d34 commit 2764c89

File tree

5 files changed

+19
-6
lines changed

5 files changed

+19
-6
lines changed

.workflows/workflow.yml renamed to .github/workflows/workflow.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1+
name: COTI python SDK publish
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
workflow_dispatch:
7+
18
jobs:
9+
210
release-build:
311
runs-on: ubuntu-latest
412

@@ -11,6 +19,7 @@ jobs:
1119

1220
- name: build release distributions
1321
run: |
22+
pip install setuptools
1423
python setup.py sdist
1524
1625
- name: upload windows dists
@@ -25,7 +34,10 @@ jobs:
2534
- release-build
2635
permissions:
2736
id-token: write
28-
37+
environment:
38+
name: python-release-env
39+
url: https://github.com
40+
2941
steps:
3042
- name: Retrieve release distributions
3143
uses: actions/download-artifact@v4

coti/__init__.py

Whitespace-only changes.
File renamed without changes.

utils.py renamed to coti/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from web3 import Web3
55
from web3.middleware import geth_poa_middleware
66

7-
from crypto_utils import block_size, decrypt
7+
from coti.crypto_utils import block_size, decrypt
88

99
SOLC_VERSION = '0.8.19'
1010

setup.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
from setuptools import setup, find_packages
1+
2+
from setuptools import setup
23

34
setup(
4-
name='coti-sdk',
5-
description='COTI SDK for Confidential Preserving network',
6-
version='0.1.0',
5+
name='coti_sdk',
6+
description='COTI SDK for Privacy Preserving Network',
7+
version='0.1.7',
78
license='Apache2.0',
89
author="gmesika-coti@COTI",
910
author_email='support@coti.io',

0 commit comments

Comments
 (0)