Skip to content

Commit 0c7fe27

Browse files
authored
Added easy python/PyPI packaging (#7)
* Added easy python/PyPI packaging * Newline at end of toml
1 parent 17130d4 commit 0c7fe27

File tree

2 files changed

+29
-7
lines changed

2 files changed

+29
-7
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
11
# Codeflare-SDK
2+
3+
To build the python package:
4+
- If poetry is not installed: `pip3 install poetry`
5+
- `poetry build`
6+
7+
To publish:
8+
- `poetry publish`

pyproject.toml

+22-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
1-
[build-system]
2-
requires = ["setuptools"]
3-
build-backend = "setuptools.build_meta"
4-
[project]
5-
name = "codeflare_sdk"
1+
[tool.poetry]
2+
name = "codeflare-sdk"
63
version = "0.0.1"
7-
dependencies = [
8-
4+
description = "Python SDK for codeflare client"
5+
6+
license = "GPL-3.0-only"
7+
8+
authors = [
9+
"Atin Sood <[email protected]>",
10+
"Abhishek Malvankar <[email protected]>",
11+
"Michael Clifford <[email protected]>",
12+
"Mustafa Eyceoz <[email protected]>",
913
]
14+
15+
readme = 'README.md'
16+
17+
repository = "https://github.com/openshift-psap/codeflare-sdk"
18+
homepage = "https://github.com/openshift-psap/codeflare-sdk"
19+
20+
keywords = ['codeflare', 'python', 'sdk', 'client', 'batch', 'scale']
21+
22+
[tool.poetry.dependencies]
23+
python = "^3.6"
24+
openshift = ">= 0.12.0"

0 commit comments

Comments
 (0)