From 9ad43f2815324a0da6685220de1562e48acccaf4 Mon Sep 17 00:00:00 2001 From: rocky Date: Wed, 7 Aug 2024 04:28:41 -0400 Subject: [PATCH] Go over pyproject.toml Need to put command-line name that ends in ".py" in quotes --- pyproject.toml | 4 ++-- setup.py | 26 -------------------------- 2 files changed, 2 insertions(+), 28 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 73a1116..d6d2cd1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,8 +60,8 @@ full = [ ] [project.scripts] -mathicsscript = "mathicsscript.__main__:main" -# fake_psviewer.py = "mathicsscript.fake_psviewer:main" + mathicsscript = "mathicsscript.__main__:main" +"fake_psviewer.py" = "mathicsscript.fake_psviewer:main" [project.urls] Homepage = "https://mathics.org/" diff --git a/setup.py b/setup.py index 5c08dee..b281c99 100644 --- a/setup.py +++ b/setup.py @@ -29,34 +29,8 @@ "mathicsscript/config.asy", ] }, - entry_points={ - "console_scripts": [ - "mathicsscript = mathicsscript.__main__:main", - "fake_psviewer.py = mathicsscript.fake_psviewer:main", - ] - }, long_description_content_type="text/x-rst", # don't pack Mathics in egg because of media files, etc. zip_safe=False, - # metadata for upload to PyPI - description="A general-purpose computer algebra system.", - license="GPL", - classifiers=[ - "Intended Audience :: Developers", - "Intended Audience :: Science/Research", - "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", - "Programming Language :: Python", - "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 :: Implementation :: CPython", - "Programming Language :: Python :: Implementation :: PyPy", - "Topic :: Scientific/Engineering", - "Topic :: Scientific/Engineering :: Mathematics", - "Topic :: Scientific/Engineering :: Physics", - "Topic :: Software Development :: Interpreters", - ], # TODO: could also include long_description, download_url, )