Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
- run: |
pip install tox
- name: Run linters
run: tox -e build || true
run: |
tox -e genproto
tox -e build || true

test:
runs-on: ubuntu-latest
Expand All @@ -38,7 +40,9 @@ jobs:
- run: |
pip install tox
- name: Run unittests
run: tox -e unittests
run: |
tox -e genproto
tox -e unittests

lint:
runs-on: ubuntu-latest
Expand All @@ -51,7 +55,9 @@ jobs:
- run: |
pip install tox
- name: Run linters
run: tox -e lint || true
run: |
tox -e genproto
tox -e lint || true

doc:
runs-on: ubuntu-latest
Expand All @@ -64,4 +70,6 @@ jobs:
- run: |
pip install tox
- name: Run linters
run: tox -e doc
run: |
tox -e genproto
tox -e doc
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
python-version: '3.10'
- run: |
pip install tox
tox -e genproto
tox -e build
# initiate jfrog login and install jf
- name: Login to JFrog Ledger
Expand Down
24 changes: 23 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,29 @@ If you're interested in using this library, please get involved.
* Free software: Apache Software License 2.0
* Documentation: https://python-etcd3.readthedocs.io.

Basic usage:

Building python package
-----------------------

The package build is made using the ToX orchestrator.
It is required to generate python files before building the package as they are
not kept in gconf.
You only need the ToX orchestrator to produce the package:

```
pip install tox
```

A typical build sequence is the folling:

```
tox -e genproto
tox -e build
```


Basic usage
-----------

.. code-block:: python

Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ description = "Python client for the etcd3 API"
dynamic = ["version"]
requires-python = ">=3.7"
readme = "README.rst"
license = {file = "LICENSE"}
authors = [
{email = "Louis Taylor <louis@kragniz.eu>"},
{email = "Ledger SAS <team-embedded-software+enclave@ledger.fr>"},
Expand All @@ -21,7 +20,6 @@ dependencies = [
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
Expand Down
43 changes: 0 additions & 43 deletions src/etcd3/etcdrpc/auth_pb2.py

This file was deleted.

41 changes: 0 additions & 41 deletions src/etcd3/etcdrpc/kv_pb2.py

This file was deleted.

229 changes: 0 additions & 229 deletions src/etcd3/etcdrpc/rpc_pb2.py

This file was deleted.

Loading