Skip to content

Commit 68de1b4

Browse files
authored
Merge pull request #72 from valentynbez/main
fix: compilation
2 parents 0e8dc88 + fd2b5e8 commit 68de1b4

File tree

3 files changed

+48
-46
lines changed

3 files changed

+48
-46
lines changed

.github/workflows/build_docs.yml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
1-
# This workflow automatically generates the Sphinx documentation required for
2-
# GitHub pages. Executed when main is pushed to.
3-
name: Documentation update
4-
on:
5-
push:
6-
branches: main
7-
workflow_dispatch:
1+
# # This workflow automatically generates the Sphinx documentation required for
2+
# # GitHub pages. Executed when main is pushed to.
3+
# name: Documentation update
4+
# on:
5+
# push:
6+
# branches: main
7+
# workflow_dispatch:
88

9-
jobs:
10-
build:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/setup-python@v2
14-
with:
15-
python-version: '3.8'
9+
# jobs:
10+
# build:
11+
# runs-on: ubuntu-latest
12+
# steps:
13+
# - uses: actions/setup-python@v2
14+
# with:
15+
# python-version: '3.8'
1616

17-
# Checkout the main branch (docs will be built from this)
18-
- uses: actions/checkout@v2
19-
with:
20-
path: main
21-
# Checkout the documentation branch (docs will be pushed to this)
22-
- uses: actions/checkout@v2
23-
with:
24-
ref: gh-pages
25-
path: gh-pages
17+
# # Checkout the main branch (docs will be built from this)
18+
# - uses: actions/checkout@v2
19+
# with:
20+
# path: main
21+
# # Checkout the documentation branch (docs will be pushed to this)
22+
# - uses: actions/checkout@v2
23+
# with:
24+
# ref: gh-pages
25+
# path: gh-pages
2626

27-
- name: Install Sphinx requirements
28-
working-directory: ${{ github.workspace }}/main/docs
29-
run: |
30-
sudo apt-get update -y
31-
sudo apt-get install -y pandoc
32-
python -m pip install --upgrade pip
33-
python -m pip install -r requirements.txt
34-
- name: Build documentation
35-
working-directory: ${{ github.workspace }}/main/docs
36-
run: make html
27+
# - name: Install Sphinx requirements
28+
# working-directory: ${{ github.workspace }}/main/docs
29+
# run: |
30+
# sudo apt-get update -y
31+
# sudo apt-get install -y pandoc
32+
# python -m pip install --upgrade pip
33+
# python -m pip install -r requirements.txt
34+
# - name: Build documentation
35+
# working-directory: ${{ github.workspace }}/main/docs
36+
# run: make html
3737

38-
- name: Move documentation
39-
run: |
40-
touch main/docs/build/html/.nojekyll
41-
cp -a main/docs/build/html/. gh-pages/
42-
- name: Upload documentation
43-
working-directory: ${{ github.workspace }}/gh-pages
44-
run: |
45-
git config --local user.email "action@github.com"
46-
git config --local user.name "GitHub Action"
47-
git add --all
48-
git diff-index --quiet HEAD || git commit -m "docs update" -a
49-
git push
38+
# - name: Move documentation
39+
# run: |
40+
# touch main/docs/build/html/.nojekyll
41+
# cp -a main/docs/build/html/. gh-pages/
42+
# - name: Upload documentation
43+
# working-directory: ${{ github.workspace }}/gh-pages
44+
# run: |
45+
# git config --local user.email "action@github.com"
46+
# git config --local user.name "GitHub Action"
47+
# git add --all
48+
# git diff-index --quiet HEAD || git commit -m "docs update" -a
49+
# git push

mDeepFRI/alignment_utils.pyx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# distutils: define_macros=NPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION
2+
13
cimport cython
24

35
import numpy as np

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def run(self):
160160
sources=[SRC_DIR + "/alignment_utils.pyx"],
161161
language="c++",
162162
libraries=["stdc++"],
163-
extra_compile_args=extra_compile_args.extend("-w")),
163+
extra_compile_args=extra_compile_args),
164164
]
165165

166166
extras = {}

0 commit comments

Comments
 (0)