Skip to content

Commit 11dc033

Browse files
committed
Update setup script
1 parent c7dcbce commit 11dc033

2 files changed

Lines changed: 33 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ authors = ["Jose Rodriguez <boriel@gmail.com>"]
66
license = "GPL-3.0-or-later"
77
documentation = "https://zxbasic.readthedocs.io"
88
repository = "https://github.com/boriel/zxbasic"
9+
homepage = "http://zxbasic.net"
10+
readme = "README.md"
911

1012
classifiers = [
1113
# How mature is this project? Common values are
@@ -23,8 +25,8 @@ classifiers = [
2325

2426
# Specify the Python versions you support here. In particular, ensure
2527
# that you indicate whether you support Python 2, Python 3 or both.
26-
'Programming Language :: Python :: 3.5',
2728
'Programming Language :: Python :: 3.6',
29+
'Programming Language :: Python :: 3.8',
2830
]
2931

3032
keywords = ['compiler', 'zxspectrum', 'BASIC', 'z80'] # arbitrary keywords

setup.py

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- coding: utf-8 -*-
2+
import pathlib
23
from setuptools import setup
34

45
packages = [
@@ -19,6 +20,12 @@
1920
'symbols'
2021
]
2122

23+
# The directory containing this file
24+
HERE = pathlib.Path(__file__).parent
25+
26+
# The text of the README file
27+
README = (HERE / "README.md").read_text()
28+
2229
package_data = {'': ['*'], 'arch.zx48k.peephole': ['opts/*']}
2330

2431
entry_points = {
@@ -30,14 +37,34 @@
3037

3138
setup_kwargs = {
3239
'name': 'zxbasic',
33-
'version': '1.11.1',
40+
'version': '1.11.1.post1',
3441
'description': "Boriel's ZX BASIC Compiler",
35-
'long_description': None,
42+
'classifiers': [
43+
# How mature is this project? Common values are
44+
# 3 - Alpha
45+
# 4 - Beta
46+
# 5 - Production/Stable
47+
'Development Status :: 5 - Production/Stable',
48+
49+
# Indicate who your project is intended for
50+
'Intended Audience :: Developers',
51+
'Topic :: Software Development :: Build Tools',
52+
53+
# Pick your license as you wish (should match "license" above)
54+
'License :: OSI Approved :: GNU Affero General Public License v3',
55+
56+
# Specify the Python versions you support here. In particular, ensure
57+
# that you indicate whether you support Python 2, Python 3 or both.
58+
'Programming Language :: Python :: 3.6',
59+
'Programming Language :: Python :: 3.8',
60+
],
61+
'long_description_content_type': "text/markdown",
62+
'long_description': README,
3663
'author': 'Jose Rodriguez',
3764
'author_email': 'boriel@gmail.com',
3865
'maintainer': None,
3966
'maintainer_email': None,
40-
'url': 'https://github.com/boriel/zxbasic',
67+
'url': 'http://zxbasic.net',
4168
'packages': packages,
4269
'package_data': package_data,
4370
'entry_points': entry_points,

0 commit comments

Comments
 (0)