Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 7ce270c

Browse files
committed
Finer error message for missing submodule
1 parent c86567b commit 7ce270c

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

MANIFEST.in

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
include *.h
2-
include *.hpp
3-
include *.cpp
4-
include Makefile
5-
include Makefile.am
6-
include utf8/*.h
1+
include libsass/*.h
2+
include libsass/*.hpp
3+
include libsass/*.cpp
4+
include libsass/Makefile
5+
include libsass/Makefile.am
6+
include libsass/utf8/*.h
77
include win32/*.h
88
include test/*.scss
99
include README.rst

setup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929
''', re.VERBOSE)
3030

3131

32+
if not os.path.isdir(LIBSASS_DIR) and os.path.isdir('.git'):
33+
print(file=sys.stderr)
34+
print('You seem to miss initializing submodules; '
35+
'try the following command', file=sys.stderr)
36+
print(' git submodule update --init', file=sys.stderr)
37+
print(file=sys.stderr)
38+
3239
libsass_sources = set()
3340
for makefilename in [
3441
os.path.join(LIBSASS_DIR, 'Makefile'),

0 commit comments

Comments
 (0)