diff --git a/HISTORY.rst b/HISTORY.rst index 7b3f1f3..ea5a1f4 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,22 +3,25 @@ Release History --------------- -0.1.0 (2016-12-02) +0.5.4 (2025-09-14) ++++++++++++++++++ -* initial release +* support API v1 +* fix channel model to refernce owner object only if it exists +* update project dependencies and configuration files with new format -0.2.0 (2017-08-19) +0.4.0 (2022-09-26) ++++++++++++++++++ -* add most channel and message endpoints +* skipping old tagged versioning +* fix on Python 3.10 -0.2.1 (2017-11-03) +0.2.3 (2018-03-31) ++++++++++++++++++ -* update missing parameter constants +* add poll endpoints 0.2.2 (2018-01-29) @@ -27,14 +30,19 @@ Release History * add many missing endpoints, testing, documentation -0.2.3 (2018-03-31) +0.2.1 (2017-11-03) ++++++++++++++++++ -* add poll endpoints +* update missing parameter constants -0.4.0 (2022-09-26) +0.2.0 (2017-08-19) ++++++++++++++++++ -* skipping old tagged versioning -* fix on Python 3.10 +* add most channel and message endpoints + + +0.1.0 (2016-12-02) +++++++++++++++++++ + +* initial release diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..513524f --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,33 @@ +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" + +[project] +name = "pnutpy" +version = "0.5.4" +authors = [ + {name = "33MHz, pnut.io", email = "support@pnut.io"}, + {name = "Morgan McMillian", email = "morgan@mcmillian.dev"}, +] +license = "MIT" +description = "pnut.io API library for python" +keywords = ["pnut.io", "api", "library"] +readme = "README.rst" +urls = {Homepage = "https://github.com/pnut-api/PNUTpy"} +classifiers = [ + "Programming Language :: Python :: 3", + "Operating System :: OS Independent", +] +dependencies = [ + "python-dateutil>=2.9", + "requests>=2.32.5", +] +requires-python = ">=3.10" + +[tool.setuptools] +zip-safe = true +include-package-data = false + +[tool.setuptools.packages.find] +exclude = ["tests"] +namespaces = false diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index c34b498..0000000 --- a/setup.cfg +++ /dev/null @@ -1,5 +0,0 @@ -[bdist_wheel] -# This flag says that the code is written to work on both Python 2 and Python -# 3. If at all possible, it is good practice to do this. If you cannot, you -# will need to generate wheels for each Python version that you support. -universal=1 \ No newline at end of file diff --git a/setup.py b/setup.py deleted file mode 100644 index 619cfe1..0000000 --- a/setup.py +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env python -#from distutils.core import setup -from setuptools import setup, find_packages - -setup(name='pnutpy', - version='0.5.0', - description='pnut.io API library for python', - long_description=open('README.rst').read(), - license='MIT', - author='33MHz, pnut.io', - author_email='support@pnut.io', - url='https://github.com/pnut-api/PNUTpy', - packages=find_packages(exclude=['tests']), - install_requires=[ - 'python-dateutil>=2.2', - 'requests>=2.4.3', - ], - keywords='pnut.io api library', - zip_safe=True)