Skip to content
Snippets Groups Projects
Commit 2f57c1e5 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

much faster compilation

parent 1c98e510
No related branches found
No related tags found
No related merge requests found
......@@ -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: |
......
satella>=2.14.21
satella>=2.14.23
ujson
snakehouse
six
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment