File tree Expand file tree Collapse file tree 3 files changed +15
-13
lines changed Expand file tree Collapse file tree 3 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -103,9 +103,8 @@ jobs:
103
103
104
104
- name : Set a project number to current release
105
105
run : |
106
- set PROJECT_NUMBER=$(git describe --tags --abbrev=0)
106
+ export PROJECT_NUMBER=$(git describe --tags --abbrev=0)
107
107
echo PROJECT_NUMBER=${PROJECT_NUMBER}
108
- echo ref_name=${{github.ref_name}}
109
108
110
109
# https://github.com/marketplace/actions/doxygen-action
111
110
- name : Build backend docs
Original file line number Diff line number Diff line change 1
- [pycodestyle]
2
- max_line_length = 120
3
- ignore = E201
1
+ [versioneer]
2
+ VCS = git
3
+ versionfile_source = dpnp/_version.py
4
+ versionfile_build = dpnp/_version.py
5
+ tag_prefix =
6
+ parentdir_prefix = dpnp-
4
7
5
- [flake8]
6
- max_line_length = 120
7
- ignore = F405
8
-
9
- [tool:pytest]
10
- addopts = -p no:warnings --tb =short
11
- norecursedirs = tests_perf
12
- testpaths = tests
8
+ [bdist_wheel]
9
+ universal =1
Original file line number Diff line number Diff line change 3
3
4
4
from skbuild import setup
5
5
6
+ import versioneer
7
+
6
8
"""
7
9
Get the project version
8
10
"""
18
20
with open ("README.md" ) as f :
19
21
__readme_file__ = f .read ()
20
22
23
+ def _get_cmdclass ():
24
+ return versioneer .get_cmdclass ()
25
+
21
26
CLASSIFIERS = """\
22
27
Development Status :: 4 - Beta
23
28
Intended Audience :: Science/Research
41
46
setup (
42
47
name = "dpnp" ,
43
48
version = __version__ ,
49
+ cmdclass = _get_cmdclass (),
44
50
description = "Data Parallel Extension for NumPy" ,
45
51
long_description = __readme_file__ ,
46
52
long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments