Skip to content

Commit 7873888

Browse files
author
Valeriy Mukhtarulin
authored
Build (#9)
* Use pbr
1 parent 129d1ed commit 7873888

File tree

8 files changed

+41
-11
lines changed

8 files changed

+41
-11
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
- name: Install dependencies
1818
run: |
1919
python -m pip install --upgrade pip
20-
pip install -r ci_requirements.txt
20+
pip install -r requirements.txt
2121
- name: Test with pytest
2222
run: |
2323
pytest
2424
- name: Build package
2525
run: |
26-
pip install -U setuptools wheel
26+
pip install -U setuptools wheel pbr
2727
python setup.py sdist bdist_wheel
2828
- name: Publish package
2929
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')

AUTHORS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Dmitry Birulia <[email protected]>
2+
Dmitry Birulia <[email protected]>
3+
Valeriy Mukhtarulin <[email protected]>
4+
Valeriy Mukhtarulin <[email protected]>
5+
6+
manycoding <[email protected]>

CHANGES.md

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

CONTRIBUTORS.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Versioning
2+
3+
pbr manages all the package metadata:
4+
* it uses requirements.txt
5+
* it adds version
6+
7+
simply run `python setup.py sdist bdist_wheel`

ChangeLog

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
CHANGES
2+
=======
3+
4+
* Move version
5+
* Add version to package
6+
* Add version to config
7+
* Add build package
8+
9+
0.0.6
10+
-----
11+
12+
* Add missing parameters to process\_document\_url
13+
* Add boost
14+
* Make it black (#4)
15+
* Clean python versions
16+
* Bump to 0.0.5
17+
* Remove python 3.5 support
18+
* Add responses
19+
* Clean setup
20+
* Add test
21+
* Fix file\_url parameter, add Accept header
22+
* Better message in exceptions
File renamed without changes.

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ classifiers =
1616
Programming Language :: Python :: Implementation :: CPython
1717

1818
keywords = veryfi, veryfi.com, ocr api
19-
version = attr: veryfi.__version__
2019

2120

2221
[options]
2322
packages = find:
2423

24+
2525
[entry_points]
2626
pbr.config.drivers =
2727
plain = pbr.cfg.driver:Plain

veryfi/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
import hashlib
33
import hmac
44
import json
5-
import time
6-
import requests
75
import os
6+
import time
87
from typing import *
98

10-
from veryfi.errors import VeryfiClientError
9+
import requests
1110

12-
__version__ = "0.0.6"
11+
from veryfi.errors import VeryfiClientError
1312

1413

1514
class Client:

0 commit comments

Comments
 (0)