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
Package 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
Christoph Alt
pystencils
Commits
a3cec2ce
Commit
a3cec2ce
authored
3 years ago
by
Markus Holzer
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 'master'
Fixed wrong type hints. Updated setup.py See merge request
!263
parents
997100b0
7f7c4cf7
Branches
Branches containing commit
Tags
release/0.4.0
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pystencils/kernelcreation.py
+4
-4
4 additions, 4 deletions
pystencils/kernelcreation.py
setup.py
+3
-2
3 additions, 2 deletions
setup.py
with
7 additions
and
6 deletions
pystencils/kernelcreation.py
+
4
−
4
View file @
a3cec2ce
...
@@ -3,7 +3,7 @@ import itertools
...
@@ -3,7 +3,7 @@ import itertools
import
warnings
import
warnings
from
dataclasses
import
dataclass
,
field
from
dataclasses
import
dataclass
,
field
from
types
import
MappingProxyType
from
types
import
MappingProxyType
from
typing
import
Callable
,
Union
,
List
,
Dict
,
Tuple
from
typing
import
Callable
,
Union
,
List
,
Dict
,
Tuple
,
Any
import
sympy
as
sp
import
sympy
as
sp
...
@@ -68,10 +68,10 @@ class CreateKernelConfig:
...
@@ -68,10 +68,10 @@ class CreateKernelConfig:
use_textures_for_interpolation
:
bool
=
True
use_textures_for_interpolation
:
bool
=
True
cpu_prepend_optimizations
:
List
[
Callable
]
=
field
(
default_factory
=
list
)
cpu_prepend_optimizations
:
List
[
Callable
]
=
field
(
default_factory
=
list
)
use_auto_for_assignments
:
bool
=
False
use_auto_for_assignments
:
bool
=
False
opencl_queue
:
...
=
None
opencl_queue
:
Any
=
None
opencl_ctx
:
...
=
None
opencl_ctx
:
Any
=
None
index_fields
:
List
[
Field
]
=
None
index_fields
:
List
[
Field
]
=
None
coordinate_names
:
Tuple
[
str
,
...
]
=
(
'
x
'
,
'
y
'
,
'
z
'
)
coordinate_names
:
Tuple
[
str
,
Any
]
=
(
'
x
'
,
'
y
'
,
'
z
'
)
def
__post_init__
(
self
):
def
__post_init__
(
self
):
# ---- Legacy parameters
# ---- Legacy parameters
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
3
−
2
View file @
a3cec2ce
...
@@ -74,6 +74,7 @@ def cython_extensions(*extensions):
...
@@ -74,6 +74,7 @@ def cython_extensions(*extensions):
else
:
else
:
return
None
return
None
def
get_cmdclass
():
def
get_cmdclass
():
cmdclass
=
{
"
quicktest
"
:
SimpleTestRunner
}
cmdclass
=
{
"
quicktest
"
:
SimpleTestRunner
}
cmdclass
.
update
(
versioneer
.
get_cmdclass
())
cmdclass
.
update
(
versioneer
.
get_cmdclass
())
...
@@ -85,9 +86,9 @@ setuptools.setup(name='pystencils',
...
@@ -85,9 +86,9 @@ setuptools.setup(name='pystencils',
version
=
versioneer
.
get_version
(),
version
=
versioneer
.
get_version
(),
long_description
=
readme
(),
long_description
=
readme
(),
long_description_content_type
=
"
text/markdown
"
,
long_description_content_type
=
"
text/markdown
"
,
author
=
'
Martin Bauer
'
,
author
=
'
Martin Bauer
, Jan Hönig, Markus Holzer
'
,
license
=
'
AGPLv3
'
,
license
=
'
AGPLv3
'
,
author_email
=
'
martin.bauer
@fau.de
'
,
author_email
=
'
cs10-codegen
@fau.de
'
,
url
=
'
https://i10git.cs.fau.de/pycodegen/pystencils/
'
,
url
=
'
https://i10git.cs.fau.de/pycodegen/pystencils/
'
,
packages
=
[
'
pystencils
'
]
+
[
'
pystencils.
'
+
s
for
s
in
setuptools
.
find_packages
(
'
pystencils
'
)],
packages
=
[
'
pystencils
'
]
+
[
'
pystencils.
'
+
s
for
s
in
setuptools
.
find_packages
(
'
pystencils
'
)],
install_requires
=
[
'
sympy>=1.2
'
,
'
numpy>=1.8.0
'
,
'
appdirs
'
,
'
joblib
'
],
install_requires
=
[
'
sympy>=1.2
'
,
'
numpy>=1.8.0
'
,
'
appdirs
'
,
'
joblib
'
],
...
...
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