Skip to content

Commit

Permalink
Go over pyproject.toml
Browse files Browse the repository at this point in the history
Need to put command-line name that ends in ".py" in quotes
  • Loading branch information
rocky committed Aug 7, 2024
1 parent f0f2980 commit 9ad43f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down
26 changes: 0 additions & 26 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

0 comments on commit 9ad43f2

Please sign in to comment.