Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix show readme.md in PyPi pages #2306

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions python/setup-css.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python

from pathlib import Path
import os
import sys

Expand Down Expand Up @@ -27,12 +27,15 @@ def run_tests(self):
errno = pytest.main(self.pytest_args)
sys.exit(errno)



This comment was marked as resolved.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the inconvenience, thanks for the feedback


setup(
name="cssbeautifier",
version=__version__,
description="CSS unobfuscator and beautifier.",
long_description=("Beautify, unpack or deobfuscate CSS"),
long_description=Path("README.md").read_text(),
long_description_content_type="text/markdown",
author="Liam Newman, Einar Lielmanis, et al.",
author_email="[email protected]",
url="https://beautifier.io",
Expand Down
10 changes: 4 additions & 6 deletions python/setup-js.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python

from pathlib import Path
import os
import sys

Expand Down Expand Up @@ -27,15 +27,13 @@ def run_tests(self):
errno = pytest.main(self.pytest_args)
sys.exit(errno)


This comment was marked as resolved.

setup(
name="jsbeautifier",
version=__version__,
description="JavaScript unobfuscator and beautifier.",
long_description=(
"Beautify, unpack or deobfuscate JavaScript. "
"Handles popular online obfuscators."
),
long_description=Path("README.md").read_text(),
long_description_content_type="text/markdown",
author="Liam Newman, Einar Lielmanis, et al.",
author_email="[email protected]",
url="https://beautifier.io",
Expand Down