Skip to content

Commit 17c96a2

Browse files
committed
ready pyproject for publish
1 parent 944dce0 commit 17c96a2

27 files changed

+81
-25
lines changed

pyproject.toml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
[build-system]
2+
requires = ["setuptools", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[tool.setuptools.packages.find]
6+
where = ["src/"]
7+
include = ["mccann_hub.odoolib"]
8+
9+
[project]
10+
name = "mccann_hub-odoo_client_lib"
11+
version = "2.0.0"
12+
description = "Extended Odoo Client Library with additional functionality"
13+
readme = "README.rst"
14+
authors = [
15+
{name = "Nicolas Vanhoren"},
16+
{name = "Jimmy McCann", email = "jabez007@users.noreply.github.com"}
17+
]
18+
license = {text = "BSD-2-Clause"}
19+
classifiers = [
20+
"License :: OSI Approved :: BSD License",
21+
"Programming Language :: Python",
22+
"Programming Language :: Python :: 3",
23+
"Programming Language :: Python :: 3.9",
24+
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
26+
"Programming Language :: Python :: 3.12",
27+
"Programming Language :: Python :: 3.13",
28+
]
29+
keywords = ["openerp", "library", "communication", "rpc", "xml-rpc", "net-rpc", "xmlrpc", "python", "client", "lib", "web service"]
30+
requires-python = ">=3.9"
31+
dependencies = [
32+
"requests",
33+
"asyncio",
34+
]
35+
36+
[project.urls]
37+
"Homepage" = "https://github.com/jabez007/odoo-client-lib"
38+
"Bug Tracker" = "https://github.com/jabez007/odoo-client-lib/issues"
39+
"Original Project" = "https://github.com/odoo/odoo-client-lib"
40+

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,16 @@
3030
#
3131
##############################################################################
3232

33-
import os.path
34-
from distutils.core import setup
33+
from setuptools import find_namespace_packages, setup
3534

3635
setup(
37-
name="mccann-hub_odoo-client-lib",
36+
name="mccann_hub-odoo_client_lib",
3837
version="2.0.0",
3938
description="Extended Odoo Client Library allows to easily interact with Odoo in Python.",
4039
author="Nicolas Vanhoren, Jimmy McCann",
4140
author_email="jabez007@users.noreply.github.com",
4241
url="https://github.com/jabez007/odoo-client-lib",
43-
packages=["odoolib"],
42+
packages=find_namespace_packages(where='src', include=["mccann_hub.*"]),
4443
install_requires=[
4544
"requests",
4645
"asyncio",
@@ -57,4 +56,5 @@
5756
"Programming Language :: Python :: 3.12",
5857
"Programming Language :: Python :: 3.13",
5958
],
59+
python_requires=">=3.9",
6060
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)