diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..8cc59b0 --- /dev/null +++ b/pyproject.toml @@ -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" diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 2a9acf1..0000000 --- a/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal = 1 diff --git a/setup.py b/setup.py deleted file mode 100644 index ebc3141..0000000 --- a/setup.py +++ /dev/null @@ -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', - ], - }, -)