diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2024-02-25 20:11:51 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2024-02-25 20:11:51 +0100 |
commit | 70ed1dcf05aa9cd7e3c03afd47625dc8a75ab556 (patch) | |
tree | c6ec7636d43e79bfb28926aa3042bc20b7b30034 /setup.py | |
parent | bcfb9917fac6c772e74732ec5d633e27c812caf1 (diff) |
Modernize packaging with pyproject.toml and setuptool_scm.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 53 |
1 files changed, 0 insertions, 53 deletions
@@ -1,57 +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 = "" - setup( - name='lesana', - version='0.10.0dev', - packages=find_packages(), - scripts=['scripts/lesana'], - package_data={ - '': ['*.yaml', 'post-checkout'] - }, - test_suite='tests', - install_requires=[ - # 'xapian >= 1.4', - 'ruamel.yaml', - 'jinja2', - 'python-dateutil', - 'hazwaz', - ], - python_requires='>=3', - # Metadata - author="Elena ``of Valhalla'' Grandi", - author_email='valhalla@trueelena.org', - description='Manage collection inventories throught yaml files.', - long_description=long_description, - long_description_content_type='text/x-rst', - license='AGPLv3+', - keywords='collection inventory', - url='https://lesana.trueelena.org/', - classifiers=[ - 'Development Status :: 3 - Alpha', - 'Environment :: Console', - 'Intended Audience :: Developers', - 'Intended Audience :: End Users/Desktop', - '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.5', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Topic :: Software Development :: Libraries :: Python Modules', - 'Topic :: Utilities', - ], - project_urls={ - 'Source': 'https://git.sr.ht/~valhalla/lesana', - 'Documentation': 'https://lesana.trueelena.org/', - 'Tracker': 'https://todo.sr.ht/~valhalla/lesana', - 'Mailing lists': 'https://sr.ht/~valhalla/lesana/lists', - }, ) |