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

Commit c4e6a51

Browse files
committed
Makefile has to be included in tarball
1 parent 9179320 commit c4e6a51

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

setup.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ def spawn(self, cmd):
106106
sass_extension = Extension(
107107
'_sass',
108108
sources,
109-
library_dirs=['./libsass'],
110-
include_dirs=['.', 'libsass'],
109+
library_dirs=[os.path.join('.', LIBSASS_DIR)],
110+
include_dirs=[os.path.join('.', LIBSASS_DIR)],
111111
depends=libsass_headers,
112112
extra_compile_args=['-c', '-O2'] + flags,
113113
extra_link_args=link_flags,
@@ -185,7 +185,9 @@ def run(self):
185185
py_modules=['sass', 'sassc', 'sasstests'],
186186
package_data={
187187
'': [
188-
'README.rst', 'Makefile', 'Makefile.am',
188+
'README.rst',
189+
os.path.join(LIBSASS_DIR, 'Makefile'),
190+
os.path.join(LIBSASS_DIR, 'Makefile.am'),
189191
'win32/*.h', 'test/*.sass'
190192
]
191193
},

0 commit comments

Comments
 (0)