From 8c18d01f052d8a4794c872a4e1393b7a684d8c92 Mon Sep 17 00:00:00 2001 From: Daniel Tomlinson Date: Wed, 20 Oct 2021 22:29:19 +0100 Subject: [PATCH] bumping version to 2.1 --- pyproject.toml | 2 +- setup.py | 18 ++++++++---------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7f5c53a..da50202 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "panaetius" -version = "1.1" +version = "2.1.0" description = "Python module to gracefully handle a .config file/environment variables for scripts, with built in masking for sensitive options. Provides a Splunk friendly formatted logger instance." license = "MIT" authors = ["dtomlinson "] diff --git a/setup.py b/setup.py index 921f12b..f8e332c 100644 --- a/setup.py +++ b/setup.py @@ -1,27 +1,25 @@ # -*- coding: utf-8 -*- -from distutils.core import setup - -package_dir = \ -{'': 'src'} +from setuptools import setup packages = \ -['panaetius'] +['panaetius', 'panaetius.utilities'] package_data = \ {'': ['*']} install_requires = \ -['pylite>=0.1.0,<0.2.0', 'toml>=0.10.0,<0.11.0'] +['PyYAML>=6.0,<7.0', 'toml>=0.10.0,<0.11.0'] setup_kwargs = { 'name': 'panaetius', - 'version': '1.0.2', - 'description': 'Python module to gracefully handle a .config file/environment variables for scripts, with built in masking for sensitive options. Provides a Splunk friendly logger instance.', - 'long_description': 'Author\n=======\n\nDaniel Tomlinson (dtomlinson@panaetius.co.uk)\n\nRequires\n=========\n\n`>= python3.7`\n\nPython requirements\n====================\n\n- toml = "^0.10.0"\n- pylite = "^0.1.0"\n\nDocumentation\n==============\n\nRead the documentation on `read the docs`_.\n\n.. _read the docs: https://panaetius.readthedocs.io/en/latest/introduction.html\n\nInstallation\n==============\n\nYou can install ..:obj:`panaetius`\n\nEasy Way\n=========\n\nPython\n-------\n\nFrom pip\n~~~~~~~~~\n\nFrom local wheel\n~~~~~~~~~~~~~~~~~\n\nFrom source\n~~~~~~~~~~~~\n\nExample Usage\n==============\n\n', + 'version': '2.1.0', + 'description': 'Python module to gracefully handle a .config file/environment variables for scripts, with built in masking for sensitive options. Provides a Splunk friendly formatted logger instance.', + 'long_description': 'Author\n=======\n\nDaniel Tomlinson (dtomlinson@panaetius.co.uk)\n\nRequires\n=========\n\n`>= python3.7`\n\nPython requirements\n====================\n\n- toml = "^0.10.0"\n- pylite = "^0.1.0"\n\nDocumentation\n==============\n\nRead the documentation on `read the docs`_.\n\n.. _read the docs: https://panaetius.readthedocs.io/en/latest/introduction.html\n\nInstallation\n==============\n\nYou can install ``panaetius`` the following ways:\n\nPython\n-------\n\n.. Attention:: You should install in a python virtual environment\n\nFrom pypi using pip\n~~~~~~~~~~~~~~~~~~~~\n\n.. code-block:: bash\n\n pip install panaetius\n\nFrom local wheel\n~~~~~~~~~~~~~~~~~\n\nDownload the latest verion from the `releases`_ page.\n\n.. _releases: https://github.com/dtomlinson91/panaetius/releases\n\nInstall with pip:\n\n.. code-block:: bash\n\n pip install -U panaetius-1.0.2-py3-none-any.whl\n\n\nFrom source\n~~~~~~~~~~~~\n\nClone the repo and install using ``setup.py``:\n\n.. code-block:: bash\n\n python setup.py\n', 'author': 'dtomlinson', 'author_email': 'dtomlinson@panaetius.co.uk', + 'maintainer': None, + 'maintainer_email': None, 'url': 'https://github.com/dtomlinson91/panaetius', - 'package_dir': package_dir, 'packages': packages, 'package_data': package_data, 'install_requires': install_requires,