Include Adyen packages recursively#223
Conversation
|
Hi @allburov, could you please try to run |
|
@antolo-arch good suggestion, but we want to use it in the project I think it's kinda like a good practice for python projects - be able to be installed from git via |
|
@antolo-arch This is the case: # Install
poetry add git+https://github.com/allburov/adyen-python-api-library.git#develop
poetry install
# try to import and use it
echo "import Adyen" > test.py
python test.py
>>> ModuleNotFoundError: No module named 'Adyen.services'Also without the change you'll encounter problems with publishing the package to pypi - in the current state I believe it won't contain |
|
Hey @allburov, |
|
@antolo-arch thank you for such quick reaction! ❤️ |
Description
Right now if we try to install the library from
developbranch it gives a errorIt happens because the
servicesmodule is used to be file and now it has been split to a module and the setuptools don't include all modules recursively, so we have to "find modules" this way.Tested scenarios