Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include examples/*
include examples/*
recursive-include pytimbr/jars *.jar
52 changes: 51 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,53 @@
[build-system]
requires = ["setuptools>=42", "wheel"]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "pytimbr"
version = "2.0.0"
description = "Timbr Python connector"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE", "NOTICE"]
authors = [
{name = "timbr", email = "contact@timbr.ai"}
]
keywords = [
"timbr",
"timbr-python",
"timbr-connector",
"python-connector",
"PyTimbr",
"pytimbr",
"py-timbr",
"Py-Timbr"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
requires-python = ">=3.9"
dependencies = [
"JPype1==1.5.1",
"pandas==1.3.5",
"numpy==1.26.4"
]

[project.urls]
Homepage = "https://github.com/WPSemantix/timbr_python_connector"
Download = "https://github.com/WPSemantix/timbr_python_connector/releases"
"Bug Tracker" = "https://github.com/WPSemantix/timbr_python_connector/issues"
Repository = "https://github.com/WPSemantix/timbr_python_connector"
Documentation = "https://github.com/WPSemantix/timbr_python_connector#readme"

[tool.setuptools.packages.find]
include = ["pytimbr*"]

[tool.setuptools.package-data]
pytimbr = ["jars/*"]
53 changes: 5 additions & 48 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,49 +1,6 @@
import setuptools
# This file is kept for backward compatibility
# All configuration has been moved to pyproject.toml
from setuptools import setup

with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()

setuptools.setup(
name='pytimbr',
version='1.0.7',
author='timbr',
author_email='contact@timbr.ai',
description='Timbr Python connector',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/WPSemantix/timbr_python_connector',
download_url = 'https://github.com/WPSemantix/timbr_python_connector/archive/refs/tags/v1.0.7.tar.gz',
project_urls={
"Bug Tracker": "https://github.com/WPSemantix/timbr_python_connector/issues"
},
license='MIT',
packages=['pytimbr'],
install_requires=[
'JPype1==1.5.1',
'pandas==1.3.5',
'numpy==1.26.4',
],
package_data={
'pytimbr': ['jars/*'],
},
keywords = [
'timbr',
'timbr-python',
'timbr-connector',
'python-connector',
'PyTimbr',
'pytimbr',
'py-timbr',
'Py-Timbr',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
)
if __name__ == "__main__":
setup()