Updated working environment to virtualenv

This commit is contained in:
2022-05-16 15:24:08 +12:00
parent af0c6b504f
commit db70f981ad
3 changed files with 13 additions and 4 deletions

4
.gitignore vendored
View File

@@ -9,3 +9,7 @@ coverage.xml
# Ignore Scratch files # Ignore Scratch files
scratch/* scratch/*
!/scratch/README.md !/scratch/README.md
# Ignore virtualenv
.venv
venv

View File

@@ -1,9 +1,13 @@
from importlib.metadata import version, PackageNotFoundError
import requests import requests
import json import json
from requests.auth import HTTPBasicAuth from requests.auth import HTTPBasicAuth
from akauntingpy import exceptions, __version__
from akauntingpy.helpers import * from akauntingpy.helpers import *
from akauntingpy import exceptions
from setuptools_scm import get_version
__version__ = get_version(root='..', relative_to=__file__)
class Client(object): class Client(object):
""" """

View File

@@ -1,2 +1,3 @@
requests >= 2.21.0 requests >= 2.27.0
pytest pytest >= 7.1.2
pytest-cov >= 3.0.0