From 11dc0335341bb1cf3cb56982322bd054ff96452d Mon Sep 17 00:00:00 2001 From: Jose Rodriguez Date: Sun, 26 Jul 2020 00:51:13 +0200 Subject: [PATCH] Update setup script --- pyproject.toml | 4 +++- setup.py | 33 ++++++++++++++++++++++++++++++--- 2 files changed, 33 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index da74d64e9..7a8a36e9e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,6 +6,8 @@ authors = ["Jose Rodriguez "] license = "GPL-3.0-or-later" documentation = "https://zxbasic.readthedocs.io" repository = "https://github.com/boriel/zxbasic" +homepage = "http://zxbasic.net" +readme = "README.md" classifiers = [ # How mature is this project? Common values are @@ -23,8 +25,8 @@ classifiers = [ # Specify the Python versions you support here. In particular, ensure # that you indicate whether you support Python 2, Python 3 or both. - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.8', ] keywords = ['compiler', 'zxspectrum', 'BASIC', 'z80'] # arbitrary keywords diff --git a/setup.py b/setup.py index 506fc40b2..1e3df5a9d 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +import pathlib from setuptools import setup packages = [ @@ -19,6 +20,12 @@ 'symbols' ] +# The directory containing this file +HERE = pathlib.Path(__file__).parent + +# The text of the README file +README = (HERE / "README.md").read_text() + package_data = {'': ['*'], 'arch.zx48k.peephole': ['opts/*']} entry_points = { @@ -30,14 +37,34 @@ setup_kwargs = { 'name': 'zxbasic', - 'version': '1.11.1', + 'version': '1.11.1.post1', 'description': "Boriel's ZX BASIC Compiler", - 'long_description': None, + 'classifiers': [ + # How mature is this project? Common values are + # 3 - Alpha + # 4 - Beta + # 5 - Production/Stable + 'Development Status :: 5 - Production/Stable', + + # Indicate who your project is intended for + 'Intended Audience :: Developers', + 'Topic :: Software Development :: Build Tools', + + # Pick your license as you wish (should match "license" above) + 'License :: OSI Approved :: GNU Affero General Public License v3', + + # Specify the Python versions you support here. In particular, ensure + # that you indicate whether you support Python 2, Python 3 or both. + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.8', + ], + 'long_description_content_type': "text/markdown", + 'long_description': README, 'author': 'Jose Rodriguez', 'author_email': 'boriel@gmail.com', 'maintainer': None, 'maintainer_email': None, - 'url': 'https://github.com/boriel/zxbasic', + 'url': 'http://zxbasic.net', 'packages': packages, 'package_data': package_data, 'entry_points': entry_points,