Skip to content

Commit 86985f4

Browse files
Merge pull request #11 from LedgerHQ/fix/pythonic-version
fix: removing generated files from gconf
2 parents 265a6ef + cd1151b commit 86985f4

9 files changed

Lines changed: 40 additions & 2221 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
- run: |
2020
pip install tox
2121
- name: Run linters
22-
run: tox -e build || true
22+
run: |
23+
tox -e genproto
24+
tox -e build || true
2325
2426
test:
2527
runs-on: ubuntu-latest
@@ -38,7 +40,9 @@ jobs:
3840
- run: |
3941
pip install tox
4042
- name: Run unittests
41-
run: tox -e unittests
43+
run: |
44+
tox -e genproto
45+
tox -e unittests
4246
4347
lint:
4448
runs-on: ubuntu-latest
@@ -51,7 +55,9 @@ jobs:
5155
- run: |
5256
pip install tox
5357
- name: Run linters
54-
run: tox -e lint || true
58+
run: |
59+
tox -e genproto
60+
tox -e lint || true
5561
5662
doc:
5763
runs-on: ubuntu-latest
@@ -64,4 +70,6 @@ jobs:
6470
- run: |
6571
pip install tox
6672
- name: Run linters
67-
run: tox -e doc
73+
run: |
74+
tox -e genproto
75+
tox -e doc

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
python-version: '3.10'
2020
- run: |
2121
pip install tox
22+
tox -e genproto
2223
tox -e build
2324
# initiate jfrog login and install jf
2425
- name: Login to JFrog Ledger

README.rst

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,29 @@ If you're interested in using this library, please get involved.
3030
* Free software: Apache Software License 2.0
3131
* Documentation: https://python-etcd3.readthedocs.io.
3232

33-
Basic usage:
33+
34+
Building python package
35+
-----------------------
36+
37+
The package build is made using the ToX orchestrator.
38+
It is required to generate python files before building the package as they are
39+
not kept in gconf.
40+
You only need the ToX orchestrator to produce the package:
41+
42+
```
43+
pip install tox
44+
```
45+
46+
A typical build sequence is the folling:
47+
48+
```
49+
tox -e genproto
50+
tox -e build
51+
```
52+
53+
54+
Basic usage
55+
-----------
3456

3557
.. code-block:: python
3658

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ description = "Python client for the etcd3 API"
88
dynamic = ["version"]
99
requires-python = ">=3.7"
1010
readme = "README.rst"
11-
license = {file = "LICENSE"}
1211
authors = [
1312
{email = "Louis Taylor <louis@kragniz.eu>"},
1413
{email = "Ledger SAS <team-embedded-software+enclave@ledger.fr>"},
@@ -21,7 +20,6 @@ dependencies = [
2120
classifiers = [
2221
"Development Status :: 2 - Pre-Alpha",
2322
"Intended Audience :: Developers",
24-
"License :: OSI Approved :: Apache Software License",
2523
"Natural Language :: English",
2624
"Programming Language :: Python :: 3",
2725
"Programming Language :: Python :: 3 :: Only",

src/etcd3/etcdrpc/auth_pb2.py

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

src/etcd3/etcdrpc/kv_pb2.py

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

src/etcd3/etcdrpc/rpc_pb2.py

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

0 commit comments

Comments
 (0)