From 99c4e883049c5a797e63df396d3530b77700a1d5 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Tue, 16 Apr 2024 09:32:10 +0200 Subject: Modernize packaging with pyproject.toml and setuptool_scm. --- setup.py | 45 +-------------------------------------------- 1 file changed, 1 insertion(+), 44 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 6a04053..1cd933d 100644 --- a/setup.py +++ b/setup.py @@ -1,47 +1,4 @@ -from setuptools import find_packages, setup - -try: - with open("README.rst", 'r') as fp: - long_description = fp.read() -except IOError: - print("Could not read README.rst, long_description will be empty.") - long_description = "" +from setuptools import setup setup( - name='hazwaz', - version='0.0.3', - packages=find_packages(), - package_data={ - "hazwaz": ["py.typed"], - }, - test_suite='tests', - install_requires=[], - python_requires='>=3', - zip_safe=False, - # Metadata - author="Elena ``of Valhalla'' Grandi", - author_email='valhalla@trueelena.org', - description='write command line scripts', - long_description=long_description, - long_description_content_type='text/x-rst', - license='AGPLv3+', - keywords='cli', - url='https://hazwaz.trueelena.org/', - classifiers=[ - 'Development Status :: 3 - Alpha', - 'Environment :: Console', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)', # noqa: E501 - 'Operating System :: POSIX', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Topic :: Software Development :: Libraries :: Python Modules', - 'Topic :: Software Development :: User Interfaces', - ], - project_urls={ - 'Source': 'https://git.sr.ht/~valhalla/hazwaz', - 'Documentation': 'https://hazwaz.trueelena.org/', - 'Tracker': 'https://todo.sr.ht/~valhalla/hazwaz', - }, ) -- cgit v1.2.3