Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pystencils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Stephan Seitz
pystencils
Commits
298afc1b
Commit
298afc1b
authored
4 years ago
by
Stephan Seitz
Browse files
Options
Downloads
Patches
Plain Diff
Remove generated file createindexlistcython.c
parent
cc64d377
No related branches found
No related tags found
No related merge requests found
Pipeline
#27732
waiting for manual action
Stage: test
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
pystencils/boundaries/createindexlistcython.c
+0
-41393
0 additions, 41393 deletions
pystencils/boundaries/createindexlistcython.c
setup.py
+9
-10
9 additions, 10 deletions
setup.py
with
10 additions
and
41403 deletions
.gitignore
+
1
−
0
View file @
298afc1b
...
...
@@ -13,3 +13,4 @@ _build
_local_tmp
RELEASE-VERSION
test-report
pystencils/boundaries/createindexlistcython.c
This diff is collapsed.
Click to expand it.
pystencils/boundaries/createindexlistcython.c
deleted
100644 → 0
+
0
−
41393
View file @
cc64d377
This diff is collapsed.
Click to expand it.
setup.py
+
9
−
10
View file @
298afc1b
import
setuptools
import
distutils
import
io
import
os
...
...
@@ -6,10 +5,12 @@ import sys
from
contextlib
import
redirect_stdout
from
importlib
import
import_module
if
'
--use-cython
'
in
sys
.
argv
:
import
setuptools
try
:
import
cython
# noqa
USE_CYTHON
=
True
sys
.
argv
.
remove
(
'
--use-cython
'
)
else
:
except
ImportError
:
USE_CYTHON
=
False
quick_tests
=
[
...
...
@@ -58,12 +59,10 @@ def readme():
def
cython_extensions
(
*
extensions
):
from
distutils.extension
import
Extension
ext
=
'
.pyx
'
if
USE_CYTHON
else
'
.c
'
ext
=
'
.pyx
'
result
=
[
Extension
(
e
,
[
e
.
replace
(
'
.
'
,
'
/
'
)
+
ext
])
for
e
in
extensions
]
if
USE_CYTHON
:
from
Cython.Build
import
cythonize
result
=
cythonize
(
result
,
language_level
=
3
)
return
result
from
Cython.Build
import
cythonize
return
cythonize
(
result
,
language_level
=
3
)
try
:
...
...
@@ -91,7 +90,7 @@ setuptools.setup(name='pystencils',
'
backends/cuda_known_functions.txt
'
,
'
backends/opencl1.1_known_functions.txt
'
]},
ext_modules
=
cython_extensions
(
"
pystencils.boundaries.createindexlistcython
"
),
ext_modules
=
cython_extensions
(
"
pystencils.boundaries.createindexlistcython
"
)
if
USE_CYTHON
else
[]
,
classifiers
=
[
'
Development Status :: 4 - Beta
'
,
'
Framework :: Jupyter
'
,
...
...
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