diff --git a/.circleci/config.yml b/.circleci/config.yml index 0a9101cb6e7f1f175c74779ce4451c00ca5320bb..da4824aeacd846e93643db48e6b18d39be513d56 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,7 +13,7 @@ jobs: - python/save-cache - run: command: | - sudo pip install satella snakehouse + sudo pip install satella>=2.14.23 snakehouse name: Install necessary modules - run: command: | diff --git a/requirements.txt b/requirements.txt index fa7a84806dee5b4115760f6bc21d313b5d4a5353..83e114434c82817ad594202b6a561ba1e346a28a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -satella>=2.14.21 +satella>=2.14.23 ujson snakehouse six diff --git a/setup.py b/setup.py index 679b03fcb6282ce43180a4c51e2ebe533e9a2b6b..5c0e74d8482be0b685c86f37cccddf537f810892 100644 --- a/setup.py +++ b/setup.py @@ -7,12 +7,15 @@ from distutils.core import setup from setuptools import Extension from snakehouse import Multibuild, build +from satella.distutils import monkey_patch_parallel_compilation def find_pyx(*path) -> tp.List[str]: return list(find_files(os.path.join(*path), r'(.*)\.pyx', scan_subdirectories=True)) +monkey_patch_parallel_compilation() + # extensions = [Extension("tempsdb.chunks", ['tempsdb/chunks.pyx']), # Extension("tempsdb.database", ['tempsdb/database.pyx']), # Extension('tempsdb.exceptions', ['tempsdb/exceptions.pyx']), @@ -27,7 +30,7 @@ if 'CI' in os.environ: setup(name='tempsdb', version='0.4.4a3', packages=['tempsdb'], - install_requires=['satella>=2.14.21', 'ujson'], + install_requires=['satella>=2.14.23', 'ujson'], ext_modules=build([Multibuild('tempsdb', find_pyx('tempsdb')), ], compiler_directives=directives), # ext_modules=cythonize(extensions,