-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a7a68db
commit 8cd8ae3
Showing
16 changed files
with
84 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
__pycache__ | ||
.pytest_cache |
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,2 @@ | ||
All rights reserved by Piotr Przetacznik | ||
MIT License |
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,8 @@ | ||
recursive-include resources * | ||
include templates/InitSession.xml | ||
include templates/invoice_example.xml | ||
include MANIFEST.in | ||
include README.md | ||
include LICENSE.txt | ||
include requirements.txt | ||
include pytest.ini |
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 @@ | ||
1.0 |
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
File renamed without changes.
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 @@ | ||
requests | ||
pytest | ||
pytest-cov | ||
Jinja2 | ||
pycryptodome | ||
lxml |
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,15 @@ | ||
#!/bin/bash | ||
|
||
set -xe | ||
|
||
# export TESTS_MARKERS="e2e and not ignore" | ||
# export TESTS_MARKERS="functional and not ignore" | ||
export TESTS_MARKERS="current and not ignore" | ||
|
||
python \ | ||
-m pytest \ | ||
tests \ | ||
-m "$TESTS_MARKERS" \ | ||
--cov-report term \ | ||
--cov=ksef_utils \ | ||
-svvv |
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,25 @@ | ||
[metadata] | ||
name = ksef-utils | ||
version = file:VERSION | ||
author = Piotr Przetacznik | ||
author_email = "piotr.przetacznik+ksef@gmail.com", | ||
long_description = file:README.md | ||
url = https://github.com/pprzetacznik/ksef-utils | ||
keywords = | ||
invoices | ||
ksef | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Environment :: Console | ||
Intended Audience :: Developers | ||
Intended Audience :: System Administrators | ||
Intended Audience :: Financial and Insurance Industry | ||
Intended Audience :: End Users/Desktop | ||
Intended Audience :: Customer Service | ||
License :: Other/Proprietary License | ||
Programming Language :: Python :: 3.11 | ||
license_files = | ||
LICENSE | ||
|
||
[bdist_wheel] | ||
universal = 0 |
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,14 @@ | ||
from os.path import join, dirname | ||
from setuptools import setup, find_packages | ||
|
||
|
||
def read(fname): | ||
with open(join(dirname(__file__), fname)) as f: | ||
return f.read() | ||
|
||
|
||
setup( | ||
packages=find_packages(), | ||
package_data={"": ["*.txt"]}, | ||
install_requires=read("requirements.txt").splitlines(), | ||
) |
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