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

6
.gitignore vendored
View File

@@ -8,4 +8,8 @@ coverage.xml
# Ignore Scratch files
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 json
from requests.auth import HTTPBasicAuth
from akauntingpy import exceptions, __version__
from akauntingpy.helpers import *
from akauntingpy import exceptions
from setuptools_scm import get_version
__version__ = get_version(root='..', relative_to=__file__)
class Client(object):
"""

View File

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