diff --git a/pibidav/__init__.py b/pibidav/__init__.py index 7a0660b..559d2cd 100644 --- a/pibidav/__init__.py +++ b/pibidav/__init__.py @@ -1,3 +1,2 @@ -__version__ = '0.0.1' - +__version__ = '0.0.2' diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..2b17609 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,18 @@ +[project] +name = "pibidav" +authors = [ + { name = "pibiCo", email = "pibico.sl@gmail.com" } +] +description = "WebDAV, CalDAV and CardDAV Integration between Frappe and NextCloud" +requires-python = ">=3.11" +dynamic = ["version"] +dependencies = [] + +[tool.bench.frappe-dependencies] +frappe = ">=15,<16" +erpnext = ">=15,<16" +payments = ">=15,<16" +hrms = ">=15,<16" + +[tool.setuptools] +py-modules = ['pibidav'] diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 77b8820..0000000 --- a/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -# frappe -- https://github.com/frappe/frappe is installed via 'bench init' -frappe -payments -erpnext -hrms \ No newline at end of file diff --git a/setup.py b/setup.py deleted file mode 100644 index 357488c..0000000 --- a/setup.py +++ /dev/null @@ -1,19 +0,0 @@ -from setuptools import setup, find_packages - -with open("requirements.txt") as f: - install_requires = f.read().strip().split("\n") - -# get version from __version__ variable in pibidav/__init__.py -from pibidav import __version__ as version - -setup( - name="pibidav", - version=version, - description="WebDAV, CalDAV and CardDAV Integration between Frappe and NextCloud", - author="pibiCo", - author_email="pibico.sl@gmail.com", - packages=find_packages(), - zip_safe=False, - include_package_data=True, - install_requires=install_requires -)