Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOMRG ENH: add pyproject.toml to fix wheel building and install from github #218

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@ jobs:
name: Get Python running
command: |
python -m pip install --user --upgrade --progress-bar off pip
python -m pip install --user --upgrade --progress-bar off -r requirements.txt
python -m pip install --user --upgrade --progress-bar off -r doc/doc-requirements.txt
python -m pip install --user -e .
python -m pip install --user .

- save_cache:
key: pip-cache
Expand All @@ -59,14 +58,15 @@ jobs:
- run:
name: Check installation
command: |
which python
cd
python -c "import celer"

# Build docs
- run:
name: make html
no_output_timeout: 100m
command: |
pwd
cd doc;
make clean;
make SPHINXOPTS=-v html;
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@
*.html
celer.egg-info/*
.eggs/*
build/*

# Python precompilation
*pyc

# wheel
*.whl
.egg/*

# cache
.pytest_cache/*
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ include *.in
include LICENSE
include celer/__init__.py
include requirements.txt
include pyproject.toml

recursive-include examples *.py
recursive-include examples *.txt
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[build-system]
requires = ["setuptools", "wheel", "Cython>=0.29.21" , "numpy>=1.12",
"scipy>=0.18.0"]
build-backend = "setuptools.build_meta"