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

remove deprecated sassc entry #379

Merged
merged 1 commit into from
Mar 10, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
15 changes: 0 additions & 15 deletions sassc.py

This file was deleted.

12 changes: 0 additions & 12 deletions sasstests.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

import pysassc
import sass
import sassc
from sassutils.builder import Manifest, build_directory
from sassutils.wsgi import SassMiddleware

Expand Down Expand Up @@ -970,17 +969,6 @@ def test_pysassc_stdout(self):
assert self.err.getvalue() == ''
assert A_EXPECTED_CSS.strip() == self.out.getvalue().strip()

def test_sassc_stdout(self):
with pytest.warns(FutureWarning) as warninfo:
exit_code = sassc.main(
['sassc', 'test/a.scss'],
self.out, self.err,
)
assert 'use `pysassc`' in warninfo[0].message.args[0]
assert exit_code == 0
assert self.err.getvalue() == ''
assert A_EXPECTED_CSS.strip() == self.out.getvalue().strip()

def test_pysassc_output(self):
fd, tmp = tempfile.mkstemp('.css')
try:
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def finalize_options(self):
version=version(),
ext_modules=[sass_extension],
packages=['sassutils'],
py_modules=['pysassc', 'sass', 'sassc', 'sasstests'],
py_modules=['pysassc', 'sass', 'sasstests'],
package_data={
'': [
'README.rst',
Expand All @@ -264,8 +264,6 @@ def finalize_options(self):
],
'console_scripts': [
['pysassc = pysassc:main'],
# TODO: remove `sassc` entry (#134)
['sassc = sassc:main'],
],
},
classifiers=[
Expand Down