mirror of
https://github.com/mnaberez/py65.git
synced 2026-10-22 02:02:27 +00:00
Replace setup.py with pyproject.toml
This commit is contained in:
1 parent
46b51c1319
commit
ec57bf9b1f
3 files changed
+52
-75
No files matched your search
@@ -0,0 +1,52 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=61.0"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools.packages]
|
||||
find = {}
|
||||
|
||||
[project]
|
||||
name = "py65"
|
||||
version = "2.0.0.dev0"
|
||||
description = "6502 microprocessor simulation package"
|
||||
authors = [
|
||||
{ name = "Mike Naberezny", email = "mike@naberezny.com" }
|
||||
]
|
||||
maintainers = [
|
||||
{ name = "Mike Naberezny", email = "mike@naberezny.com" }
|
||||
]
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.8"
|
||||
license = { text = "BSD License" }
|
||||
classifiers = [
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Environment :: Console",
|
||||
"Intended Audience :: Developers",
|
||||
"Natural Language :: English",
|
||||
"Operating System :: POSIX",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3 :: Only",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
"Programming Language :: Python :: 3.14",
|
||||
"Programming Language :: Python :: Implementation :: PyPy",
|
||||
"Programming Language :: Assembly",
|
||||
"Topic :: Software Development :: Assemblers",
|
||||
"Topic :: Software Development :: Disassemblers",
|
||||
"Topic :: Software Development :: Debuggers",
|
||||
"Topic :: Software Development :: Embedded Systems",
|
||||
"Topic :: Software Development :: Interpreters",
|
||||
"Topic :: System :: Emulators",
|
||||
"Topic :: System :: Hardware",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://github.com/mnaberez/py65"
|
||||
|
||||
[project.scripts]
|
||||
py65mon = "py65.monitor:main"
|
||||
@@ -1,73 +0,0 @@
|
||||
__version__ = '1.3.0.dev0'
|
||||
|
||||
import sys
|
||||
|
||||
py_version = sys.version_info[:2]
|
||||
PY3 = py_version[0] == 3
|
||||
|
||||
if PY3:
|
||||
if py_version < (3, 4):
|
||||
raise RuntimeError('On Python 3, Py65 requires Python 3.4 or later')
|
||||
else:
|
||||
if py_version < (2, 7):
|
||||
raise RuntimeError('On Python 2, Py65 requires Python 2.7 or later')
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
DESC = """\
|
||||
Simulate 6502-based microcomputer systems in Python."""
|
||||
|
||||
CLASSIFIERS = [
|
||||
'Development Status :: 3 - Alpha',
|
||||
'Environment :: Console',
|
||||
'Intended Audience :: Developers',
|
||||
'Natural Language :: English',
|
||||
'Operating System :: POSIX',
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Programming Language :: Python :: 3.9',
|
||||
'Programming Language :: Python :: 3.10',
|
||||
'Programming Language :: Python :: 3.11',
|
||||
'Programming Language :: Python :: 3.12',
|
||||
'Programming Language :: Assembly',
|
||||
'Topic :: Software Development :: Assemblers',
|
||||
'Topic :: Software Development :: Disassemblers',
|
||||
'Topic :: Software Development :: Debuggers',
|
||||
'Topic :: Software Development :: Embedded Systems',
|
||||
'Topic :: Software Development :: Interpreters',
|
||||
'Topic :: System :: Emulators',
|
||||
'Topic :: System :: Hardware'
|
||||
]
|
||||
|
||||
setup(
|
||||
name='py65',
|
||||
version=__version__,
|
||||
license='License :: OSI Approved :: BSD License',
|
||||
url='https://github.com/mnaberez/py65',
|
||||
description='6502 microprocessor simulation package',
|
||||
long_description=DESC,
|
||||
classifiers=CLASSIFIERS,
|
||||
author="Mike Naberezny",
|
||||
author_email="mike@naberezny.com",
|
||||
maintainer="Mike Naberezny",
|
||||
maintainer_email="mike@naberezny.com",
|
||||
packages=find_packages(),
|
||||
install_requires=[],
|
||||
extras_require={},
|
||||
tests_require=[],
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
test_suite="py65.tests",
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'py65mon = py65.monitor:main',
|
||||
],
|
||||
},
|
||||
)
|
||||
Reference in new issue
Block a user