Skip to content

Commit 038cc12

Browse files
Merge pull request #125 from nanograv/cbd_abdot
Merging Cbd abdot branch to dev. This branch uses an entirely different evolution class: `cEvolution.`
2 parents 0563d84 + 4a2f384 commit 038cc12

142 files changed

Lines changed: 13079 additions & 5175 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/publish_to_pypi.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Build and publish Python distributions to PyPI
2+
on:
3+
push:
4+
# !! TEMPORARILY DISABLE THIS WORKFLOW / ACTION !!
5+
branches-ignore:
6+
- '**'
7+
# branches:
8+
# - "main"
9+
10+
jobs:
11+
build-publish:
12+
name: Build and publish Python distributions to PyPI
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: git checkout repository main
16+
uses: actions/checkout@v3
17+
18+
- name: check github reference for tags
19+
run: |
20+
echo "github.ref = ${{ github.ref }}, github.ref_type = ${{ github.ref_type }}"
21+
echo "github.repository = ${{ github.repository }}, github.event_name = ${{ github.event_name }} "
22+
23+
- name: Set up Python 3.10
24+
uses: actions/setup-python@v3
25+
with:
26+
python-version: "3.10"
27+
28+
- name: Install pypa/build
29+
run: python -m pip install build --user
30+
31+
- name: Build a binary wheel and a source tarball
32+
run: python -m build --sdist --wheel --outdir dist/ .
33+
34+
# - name: Publish distribution to Test PyPI
35+
# uses: pypa/gh-action-pypi-publish@master
36+
# with:
37+
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
38+
# repository_url: https://test.pypi.org/legacy/
39+
40+
- name: Publish distribution to PyPI
41+
uses: pypa/gh-action-pypi-publish@master
42+
with:
43+
password: ${{ secrets.PYPI_API_TOKEN }}

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ target/
7070

7171
# Jupyter Notebook
7272
.ipynb_checkpoints
73+
notebooks/*.pkl
74+
# notebooks for CBD tutorials, will be modified and included after merge with dev
75+
notebooks/cbd/*.ipynb
76+
notebooks/cbd/*.py
7377

7478
# pyenv
7579
.python-version

.readthedocs.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ build:
1010
os: ubuntu-22.04
1111
tools:
1212
python: "3.9"
13+
# You can also specify other tool versions:
14+
# nodejs: "16"
15+
# rust: "1.55"
16+
# golang: "1.17"
1317
jobs:
1418
post_install:
1519
- python setup.py build_ext -i
@@ -18,6 +22,7 @@ build:
1822
# Build documentation in the docs/ directory with Sphinx
1923
sphinx:
2024
configuration: docs/source/conf.py
25+
# fail_on_warning: true
2126

2227
# If using Sphinx, optionally build your docs in additional formats such as PDF
2328
formats:
@@ -27,3 +32,6 @@ python:
2732
install:
2833
- requirements: docs/requirements.txt
2934
- requirements: requirements.txt
35+
36+
# conda:
37+
# environment: docs/requirements.yaml

0 commit comments

Comments
 (0)