Skip to content

Commit 39c4524

Browse files
committed
Ignore files, ensure patch
1 parent 53a6bb8 commit 39c4524

File tree

6 files changed

+69
-11
lines changed

6 files changed

+69
-11
lines changed

.github/workflows/docker.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
branches: [ master ]
55
jobs:
66
ubuntu-dev:
7-
if: "!contains(github.event.head_commit.message, '[skip]')"
7+
if: ${{!contains(github.event.head_commit.message, '[skip]')}}
88
runs-on: ubuntu-22.04
99
timeout-minutes: 60
1010
steps:

.github/workflows/windows.yml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
branches: [ master ]
55
pull_request:
66
branches: [ master ]
7+
env:
8+
VPMR_VERSION: ""
79
jobs:
810
windows:
911
runs-on: windows-2022

MANIFEST.in

+48-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
1-
graft .
2-
prune .git
3-
recursive-exclude .github .gitlab .circleci
1+
graft eigen
2+
graft exprtk
3+
graft exprtk-custom-types
4+
graft mpreal
5+
graft pybind11
6+
graft pyvpmr
7+
graft src
8+
include patch_size.patch
9+
prune eigen/.gitlab
10+
prune eigen/bench
11+
prune eigen/ci
12+
prune eigen/cmake
13+
prune eigen/debug
14+
prune eigen/demos
15+
prune eigen/doc
16+
prune eigen/failtest
17+
prune eigen/scripts
18+
prune eigen/test
19+
prune eigen/unsupported/bench
20+
prune eigen/unsupported/doc
21+
prune eigen/unsupported/test
22+
prune exprtk/.circleci
23+
prune mpreal/example
24+
prune pybind11/.github
25+
prune pybind11/docs
26+
prune pybind11/tests
27+
prune pybind11/tools
28+
prune test
29+
global-exclude .clang-format
30+
global-exclude .clang-tidy
31+
global-exclude .codespell-ignore-lines
32+
global-exclude .git
33+
global-exclude .git-blame-ignore-revs
34+
global-exclude .gitattributes
35+
global-exclude .gitignore
36+
global-exclude .hgeol
37+
global-exclude *.dat
38+
global-exclude *.in
39+
global-exclude *.sh
40+
global-exclude *.txt
41+
global-exclude *.yaml
42+
global-exclude *.yml
43+
global-exclude *cmake*
44+
global-exclude changelog*
45+
global-exclude COPYING.*
46+
global-exclude INSTALL
47+
global-exclude LICENSE
48+
global-exclude Makefile

eigen

Submodule eigen updated from 132f281 to 2d4c9b4

setup.py

+16-5
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,28 @@
88
# noinspection PyTypeChecker
99
setup(
1010
version=datetime.now().strftime("%y%m%d"),
11-
long_description=(Path(__file__).parent / "README.md").read_text(encoding='utf8').replace(
12-
"resource/", "https://raw.githubusercontent.com/TLCFEM/vpmr/master/resource/"),
13-
long_description_content_type='text/markdown',
11+
long_description=(Path(__file__).parent / "README.md")
12+
.read_text(encoding="utf8")
13+
.replace(
14+
"resource/", "https://raw.githubusercontent.com/TLCFEM/vpmr/master/resource/"
15+
),
16+
long_description_content_type="text/markdown",
1417
ext_modules=[
1518
Pybind11Extension(
1619
"_pyvpmr",
1720
["src/VPMR.cpp"],
18-
include_dirs=["eigen", "eigen/unsupported", "mpreal", "exprtk", "exprtk-custom-types"],
21+
include_dirs=[
22+
"eigen",
23+
"eigen/unsupported",
24+
"mpreal",
25+
"exprtk",
26+
"exprtk-custom-types",
27+
],
1928
libraries=["mpfr", "gmp", "tbb"],
2029
define_macros=[("PYVPMR", 1)],
21-
extra_compile_args=['-fno-aligned-allocation'] if "Darwin" == platform.system() else [],
30+
extra_compile_args=["-fno-aligned-allocation"]
31+
if "Darwin" == platform.system()
32+
else [],
2233
),
2334
],
2435
cmdclass={"build_ext": build_ext},

0 commit comments

Comments
 (0)