Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Glenn K. Lockwood
darshan
Commits
fd5801f5
Commit
fd5801f5
authored
Dec 17, 2020
by
Jakob Luettgau
Browse files
Clean up setup.py, add target for devenv, extend ignore patterns for git/pytest
parent
24029dcc
Changes
4
Hide whitespace changes
Inline
Side-by-side
darshan-util/pydarshan/.gitignore
View file @
fd5801f5
...
@@ -21,6 +21,7 @@ parts/
...
@@ -21,6 +21,7 @@ parts/
sdist/
sdist/
var/
var/
wheels/
wheels/
wheelhouse/
*.egg-info/
*.egg-info/
.installed.cfg
.installed.cfg
*.egg
*.egg
...
...
darshan-util/pydarshan/Makefile
View file @
fd5801f5
...
@@ -28,6 +28,13 @@ clean-test: # remove test and coverage artifacts
...
@@ -28,6 +28,13 @@ clean-test: # remove test and coverage artifacts
rm
-rf
htmlcov/
rm
-rf
htmlcov/
rm
-rf
.pytest_cache
rm
-rf
.pytest_cache
clean-devenv
:
rm
-rf
venv
devenv
:
python3
-m
venv venv
source
venv/bin/activate
&&
pip
install
-r
requirements_dev.txt
lint
:
#
check style with flake8
lint
:
#
check style with flake8
flake8 darshan tests
flake8 darshan tests
...
...
darshan-util/pydarshan/setup.cfg
View file @
fd5801f5
...
@@ -23,5 +23,5 @@ ignore = E501 E231 E265 E303 E271 E272
...
@@ -23,5 +23,5 @@ ignore = E501 E231 E265 E303 E271 E272
test = pytest
test = pytest
[tool:pytest]
[tool:pytest]
collect_ignore = ['setup.py']
collect_ignore = ['setup.py'
, 'playground/*'
]
darshan-util/pydarshan/setup.py
View file @
fd5801f5
...
@@ -21,26 +21,12 @@ if '--with-extension' in sys.argv:
...
@@ -21,26 +21,12 @@ if '--with-extension' in sys.argv:
'darshan.extension'
,
'darshan.extension'
,
#optional=True,
#optional=True,
sources
=
[
'darshan/extension.c'
],
sources
=
[
'darshan/extension.c'
],
library_dirs
=
[
'/usr/lib64/atlas/'
,
'/usr/lib/atlas'
],
include_dirs
=
[
'/usr/include'
],
include_dirs
=
[
'/usr/include'
],
libraries
=
[
'darshan-util'
]
libraries
=
[
'darshan-util'
]
))
))
sys
.
argv
.
remove
(
'--with-extension'
)
sys
.
argv
.
remove
(
'--with-extension'
)
#ext_modules.append(Extension(
# 'darshan.extension',
# #optional=True,
# sources=['darshan/extension.c'],
# library_dirs=['/usr/lib64/atlas/', '/usr/lib/atlas'],
# include_dirs=['/usr/include'],
# libraries=['darshan-util']
# ))
setup
(
setup
(
author
=
''
,
author
=
''
,
author_email
=
''
,
author_email
=
''
,
...
@@ -56,7 +42,7 @@ setup(
...
@@ -56,7 +42,7 @@ setup(
'Programming Language :: Python :: 3.9'
'Programming Language :: Python :: 3.9'
],
],
description
=
"Python tools to interact with darshan log records of HPC applications."
,
description
=
"Python tools to interact with darshan log records of HPC applications."
,
#
long_description=readme,
long_description
=
readme
,
long_description
=
"PyDarshan"
,
long_description
=
"PyDarshan"
,
ext_modules
=
ext_modules
,
ext_modules
=
ext_modules
,
install_requires
=
requirements
,
install_requires
=
requirements
,
...
...
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