-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from cuenca-mx/update
Update library
- Loading branch information
Showing
9 changed files
with
93 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
__all__ = ['Cuenta', 'Client', 'Transferencia'] | ||
__all__ = ['__version__', 'Cuenta', 'Client', 'Transferencia'] | ||
|
||
from .client import Client | ||
from .cuenta import Cuenta | ||
from .transferencia import Transferencia | ||
from .version import __version__ |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = '0.1.4' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
pytest==5.4.3 | ||
pytest-vcr==1.0.2 | ||
pytest-cov==2.10.0 | ||
black==19.10b0 | ||
flake8==3.8.3 | ||
isort[pipfile]==4.3.21 | ||
mypy==0.790 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
requests==2.24.0 | ||
clabe==1.2.0 | ||
lxml==4.5.1 | ||
dataclasses>=0.6;python_version<"3.7" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
import setuptools | ||
from importlib.machinery import SourceFileLoader | ||
|
||
from setuptools import find_packages, setup | ||
|
||
version = SourceFileLoader('version', 'cep/version.py').load_module() | ||
|
||
install_requirements = [ | ||
'requests==2.24.0', | ||
|
@@ -7,36 +11,25 @@ | |
'dataclasses>=0.6;python_version<"3.7"', | ||
] | ||
|
||
test_requires = ( | ||
[ | ||
'pytest==5.4.3', | ||
'pytest-vcr==1.0.2', | ||
'pytest-cov==2.10.0', | ||
'black==19.10b0', | ||
'flake8==3.8.3', | ||
'isort[pipfile]==4.3.21', | ||
], | ||
) | ||
|
||
with open('README.md', 'r') as f: | ||
long_description = f.read() | ||
|
||
|
||
setuptools.setup( | ||
setup( | ||
name='cepmex', | ||
version='0.1.3', | ||
version=version.__version__, | ||
author='Cuenca', | ||
author_email='[email protected]', | ||
description='CEP client library', | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
url='https://github.com/cuenca-mx/cep-python', | ||
packages=setuptools.find_packages(), | ||
packages=find_packages(), | ||
include_package_data=True, | ||
package_data=dict(cep=['py.typed']), | ||
python_requires='>=3.7', | ||
install_requires=install_requirements, | ||
setup_requires=['pytest-runner'], | ||
tests_require=test_requires, | ||
extras_require=dict(test=test_requires), | ||
classifiers=[ | ||
'Programming Language :: Python :: 3.7', | ||
'License :: OSI Approved :: MIT License', | ||
|