Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pycodegen
lbmpy
Commits
eb191dc1
Commit
eb191dc1
authored
Sep 30, 2021
by
Dominik Thoennes
Browse files
Merge branch 'SmallFixes' into 'master'
Fix setup dependency Closes
#22
See merge request
!96
parents
2bfdfe0f
8b0e1efe
Pipeline
#34504
failed with stages
in 33 minutes and 11 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
setup.py
View file @
eb191dc1
import
os
import
sys
import
io
from
setuptools
import
setup
,
find_packages
import
distutils
...
...
@@ -10,6 +9,7 @@ import versioneer
try
:
import
cython
# noqa
USE_CYTHON
=
True
except
ImportError
:
USE_CYTHON
=
False
...
...
@@ -19,6 +19,7 @@ quick_tests = [
'test_serial_scenarios.test_channel_srt'
,
]
class
SimpleTestRunner
(
distutils
.
cmd
.
Command
):
"""A custom command to run selected tests"""
...
...
@@ -69,8 +70,9 @@ def cython_extensions(*extensions):
else
:
return
None
def
get_cmdclass
():
cmdclass
=
{
"quicktest"
:
SimpleTestRunner
}
cmdclass
=
{
"quicktest"
:
SimpleTestRunner
}
cmdclass
.
update
(
versioneer
.
get_cmdclass
())
return
cmdclass
...
...
@@ -85,7 +87,7 @@ setup(name='lbmpy',
author_email
=
'cs10-codegen@fau.de'
,
url
=
'https://i10git.cs.fau.de/pycodegen/lbmpy/'
,
packages
=
[
'lbmpy'
]
+
[
'lbmpy.'
+
s
for
s
in
find_packages
(
'lbmpy'
)],
install_requires
=
[
'pystencils'
,
'sympy>=1.2'
,
'numpy>=1.11.0'
],
install_requires
=
[
'pystencils
>=0.4.0
'
,
'sympy>=1.2'
,
'numpy>=1.11.0'
],
package_data
=
{
'lbmpy'
:
[
'phasefield/simplex_projection.pyx'
,
'phasefield/simplex_projection.c'
]},
ext_modules
=
cython_extensions
(
"lbmpy.phasefield.simplex_projection"
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment