summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2024-04-16 09:32:10 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2024-04-16 09:32:10 +0200
commit99c4e883049c5a797e63df396d3530b77700a1d5 (patch)
tree58a3bbc3504731d737a2d31bf601af3731a1b9e4 /setup.py
parentf3a49e6a8ad7247fbe32e455cdc1e3f217a0e073 (diff)
Modernize packaging with pyproject.toml and setuptool_scm.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py45
1 files changed, 1 insertions, 44 deletions
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',
- },
)