Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tempsdb
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
public
tempsdb
Commits
2f57c1e5
Commit
2f57c1e5
authored
4 years ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
much faster compilation
parent
1c98e510
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.circleci/config.yml
+1
-1
1 addition, 1 deletion
.circleci/config.yml
requirements.txt
+1
-1
1 addition, 1 deletion
requirements.txt
setup.py
+4
-1
4 additions, 1 deletion
setup.py
with
6 additions
and
3 deletions
.circleci/config.yml
+
1
−
1
View file @
2f57c1e5
...
...
@@ -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
:
|
...
...
This diff is collapsed.
Click to expand it.
requirements.txt
+
1
−
1
View file @
2f57c1e5
satella
>=2.14.2
1
satella
>=2.14.2
3
ujson
snakehouse
six
This diff is collapsed.
Click to expand it.
setup.py
+
4
−
1
View file @
2f57c1e5
...
...
@@ -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.2
1
'
,
'
ujson
'
],
install_requires
=
[
'
satella>=2.14.2
3
'
,
'
ujson
'
],
ext_modules
=
build
([
Multibuild
(
'
tempsdb
'
,
find_pyx
(
'
tempsdb
'
)),
],
compiler_directives
=
directives
),
# ext_modules=cythonize(extensions,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment