Skip to content

Commit

Permalink
added style50-cli entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
rongxin-liu committed Oct 5, 2023
1 parent 61c5277 commit 4391242
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
if __import__("os").name == "nt":
raise RuntimeError("style50 does not support Windows directly. Instead, you should install the Windows Subsystem for Linux (https://docs.microsoft.com/en-us/windows/wsl/install-win10) and then install style50 within that.")
raise RuntimeError(
"style50 does not support Windows directly. Instead, you should install the Windows Subsystem for Linux (https://docs.microsoft.com/en-us/windows/wsl/install-win10) and then install style50 within that."
)

from setuptools import find_packages, setup

Expand All @@ -10,22 +12,34 @@
"Intended Audience :: Education",
"Programming Language :: Python :: 3",
"Topic :: Education",
"Topic :: Utilities"
"Topic :: Utilities",
],
description="This is style50, with which code can be checked against the CS50 style guide",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
install_requires=["argparse", "autopep8>=1.4.3", "icdiff", "jsbeautifier", "pycodestyle==2.10.0", "python-magic", "termcolor", "jinja2>=2.10"],
install_requires=[
"argparse",
"autopep8>=1.4.3",
"icdiff",
"jsbeautifier",
"pycodestyle==2.10.0",
"python-magic",
"termcolor",
"jinja2>=2.10",
],
dependency_links=["git+https://github.com/jeffkaufman/icdiff.git"],
keywords=["style", "style50"],
name="style50",
py_requires=">=3.6",
license="GPLv3",
packages=["style50", "style50.renderer"],
entry_points={
"console_scripts": ["style50=style50.__main__:main"],
"console_scripts": [
"style50=style50.__main__:main",
"style50-cli=style50.__main__:main",
]
},
url="https://github.com/cs50/style50",
version="2.8.1",
version="2.8.2",
include_package_data=True,
)

0 comments on commit 4391242

Please sign in to comment.