Skip to content

Commit 9a2985b

Browse files
Merge pull request #6 from IABTechLab/cbc-UID2-652-add-package-to-pypi
Cbc UI d2 652 add package to pypi
2 parents da979ce + 4f7bb45 commit 9a2985b

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Publish
2+
3+
on: [workflow_dispatch]
4+
5+
jobs:
6+
Publish:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Build
12+
run: |
13+
python3 -m pip install --upgrade build
14+
python3 -m build
15+
- name: Publish
16+
run: |
17+
python3 -m pip install --upgrade twine
18+
python3 -m twine upload dist/* -u uid2 -p "${{ secrets.PYPI_PASSWORD }}"
19+

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.swp
2+
dist/*
3+
*egg-info/*

pyproject.toml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,24 @@ requires = [
44
"wheel",
55
]
66
build-backend = "setuptools.build_meta"
7+
8+
[project]
9+
name = "uid2_client"
10+
version = "1.0.0"
11+
authors = [
12+
{ name = "Cody Constine", email = "[email protected]" }
13+
]
14+
description = "UID2 sdk for the UID2 and EUID apis"
15+
readme = "README.md"
16+
classifiers = [
17+
"Programming Language :: Python :: 3",
18+
"License :: OSI Approved :: MIT License",
19+
"Operating System :: OS Independent",
20+
]
21+
dependencies = [
22+
"pycrypto"
23+
]
24+
25+
[project.urls]
26+
"Homepage" = "https://github.com/IABTechLab/uid2-client-python"
27+
"Bug Tracker" = "https://github.com/IABTechLab/uid2-client-python/issues"

0 commit comments

Comments
 (0)