Skip to content

Commit

Permalink
Ignore files, ensure patch
Browse files Browse the repository at this point in the history
  • Loading branch information
TLCFEM committed Sep 21, 2024
1 parent 53a6bb8 commit 39c4524
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches: [ master ]
jobs:
ubuntu-dev:
if: "!contains(github.event.head_commit.message, '[skip]')"
if: ${{!contains(github.event.head_commit.message, '[skip]')}}
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
env:
VPMR_VERSION: ""
jobs:
windows:
runs-on: windows-2022
Expand Down
51 changes: 48 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,48 @@
graft .
prune .git
recursive-exclude .github .gitlab .circleci
graft eigen
graft exprtk
graft exprtk-custom-types
graft mpreal
graft pybind11
graft pyvpmr
graft src
include patch_size.patch
prune eigen/.gitlab
prune eigen/bench
prune eigen/ci
prune eigen/cmake
prune eigen/debug
prune eigen/demos
prune eigen/doc
prune eigen/failtest
prune eigen/scripts
prune eigen/test
prune eigen/unsupported/bench
prune eigen/unsupported/doc
prune eigen/unsupported/test
prune exprtk/.circleci
prune mpreal/example
prune pybind11/.github
prune pybind11/docs
prune pybind11/tests
prune pybind11/tools
prune test
global-exclude .clang-format
global-exclude .clang-tidy
global-exclude .codespell-ignore-lines
global-exclude .git
global-exclude .git-blame-ignore-revs
global-exclude .gitattributes
global-exclude .gitignore
global-exclude .hgeol
global-exclude *.dat
global-exclude *.in
global-exclude *.sh
global-exclude *.txt
global-exclude *.yaml
global-exclude *.yml
global-exclude *cmake*
global-exclude changelog*
global-exclude COPYING.*
global-exclude INSTALL
global-exclude LICENSE
global-exclude Makefile
2 changes: 1 addition & 1 deletion eigen
Submodule eigen updated from 132f28 to 2d4c9b
21 changes: 16 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,28 @@
# noinspection PyTypeChecker
setup(
version=datetime.now().strftime("%y%m%d"),
long_description=(Path(__file__).parent / "README.md").read_text(encoding='utf8').replace(
"resource/", "https://raw.githubusercontent.com/TLCFEM/vpmr/master/resource/"),
long_description_content_type='text/markdown',
long_description=(Path(__file__).parent / "README.md")
.read_text(encoding="utf8")
.replace(
"resource/", "https://raw.githubusercontent.com/TLCFEM/vpmr/master/resource/"
),
long_description_content_type="text/markdown",
ext_modules=[
Pybind11Extension(
"_pyvpmr",
["src/VPMR.cpp"],
include_dirs=["eigen", "eigen/unsupported", "mpreal", "exprtk", "exprtk-custom-types"],
include_dirs=[
"eigen",
"eigen/unsupported",
"mpreal",
"exprtk",
"exprtk-custom-types",
],
libraries=["mpfr", "gmp", "tbb"],
define_macros=[("PYVPMR", 1)],
extra_compile_args=['-fno-aligned-allocation'] if "Darwin" == platform.system() else [],
extra_compile_args=["-fno-aligned-allocation"]
if "Darwin" == platform.system()
else [],
),
],
cmdclass={"build_ext": build_ext},
Expand Down

0 comments on commit 39c4524

Please sign in to comment.