From e8091e0c75e015ca6c5a210a7cc499360c62159a Mon Sep 17 00:00:00 2001 From: Alexey Avramov Date: Tue, 6 Aug 2024 02:53:50 +0900 Subject: [PATCH] Add pyproject.toml; remove setup.py --- pyproject.toml | 45 +++++++++++++++++++++++++++++++++++++++++++++ setup.py | 48 ------------------------------------------------ 2 files changed, 45 insertions(+), 48 deletions(-) create mode 100644 pyproject.toml delete mode 100644 setup.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..8741d76 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,45 @@ +[build-system] +requires = [ + "setuptools>=42", + "wheel", +] +build-backend = "setuptools.build_meta" + +[project] +name = "tird" +version = "0.16.0" +license = { text = "CC0-1.0", url = "https://creativecommons.org/publicdomain/zero/1.0/" } +maintainers = [ + { name = "Alexey Avramov", email = "hakavlad@gmail.com" }, +] +description = "A tool for encrypting files and hiding encrypted data" +readme = { file = "README.md", content-type = "text/markdown" } +keywords = [ + "encryption", + "hiding", +] +classifiers = [ + "Development Status :: 3 - Alpha", + "Environment :: Console", + "Intended Audience :: End Users/Desktop", + "License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication", + "Operating System :: OS Independent", + "Programming Language :: Python :: 3", + "Topic :: Security", + "Topic :: Security :: Cryptography", + "Topic :: Utilities", +] +dependencies = [ + "pycryptodomex>=3.6.2", + "pynacl>=1.2.0", +] +requires-python = ">=3.6" + +[project.urls] +"Bug Tracker" = "https://github.com/hakavlad/tird/issues" +"Documentation" = "https://github.com/hakavlad/tird/blob/main/README.md" +"Homepage" = "https://github.com/hakavlad/tird" +"Repository" = "https://github.com/hakavlad/tird" + +[project.scripts] +tird = "tird.tird:main" diff --git a/setup.py b/setup.py deleted file mode 100644 index 759ec8d..0000000 --- a/setup.py +++ /dev/null @@ -1,48 +0,0 @@ -from setuptools import find_packages, setup - - -def readme(): - with open('README.md', 'r') as file: - return file.read() - - -NAME = 'tird' -VERSION = '0.16.0' - -setup( - name=NAME, - version=VERSION, - license='CC0', - author='Alexey Avramov', - author_email='hakavlad@gmail.com', - description='A tool for encrypting files and hiding encrypted data', - long_description=readme(), - long_description_content_type='text/markdown', - url='https://github.com/hakavlad/tird', - packages=find_packages(), - classifiers=[ - 'Development Status :: 3 - Alpha', - 'Environment :: Console', - 'License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication', - 'Operating System :: OS Independent', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3 :: Only', - 'Topic :: Security', - 'Topic :: Security :: Cryptography', - 'Topic :: Utilities' - ], - keywords='encryption hiding', - project_urls={ - 'Homepage': 'https://github.com/hakavlad/tird', - 'Bug Tracker': 'https://github.com/hakavlad/tird/issues', - 'Documentation': 'https://github.com/hakavlad/tird/blob/main/README.md' - }, - entry_points={'console_scripts': [ - '{n} = {n}.{n}:main'.format(n=NAME), - ]}, - python_requires='>=3.6', - install_requires=[ - 'pycryptodomex>=3.6.2', - 'pynacl>=1.2.0', - ], -)