Closed ahmad18189 closed 4 months ago
suggested file content
`from setuptools import setup, find_packages
with open("requirements.txt") as f: install_requires = f.read().strip().split("\n")
from ksa_compliance import version as version
setup( name="ksa_compliance", version=version, description="KSA zatca phase 2", author="lavaloon.com", author_email="info@lavaloon.com", packages=find_packages(), zip_safe=False, include_package_data=True, install_requires=install_requires )
`
Hello, Ahmad. Thanks for reporting.
ksa_compliance
runs only on frappe 15, which ditched setup.py
in favor of pyproject.toml
. Please refer to Migrating to version 15: Removal of setup.py
If you encountered this error on a 15 bench, can you please share the bench version (bench --version
) as well as app versions? (bench version
)
I'm closing this on the assumption that it was a v14 bench. Please let me know if you still run into issues on v15.
using
https://github.com/lavaloon-eg/ksa_compliance.git --branch develop
branch tested
develop
main
error
FileNotFoundError: [Errno 2] No such file or directory: '/home/frappe/frappe-bench/apps/ksa_compliance/setup.py'