Skip to content

Commit b721e3e

Browse files
committed
Merge remote-tracking branch 'c3/main' into merge-c3v3
2 parents 5c96807 + bf91c00 commit b721e3e

82 files changed

Lines changed: 5482 additions & 174 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.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# This workflow will upload a Python Package using Twine when a release is created
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3+
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
9+
name: Upload Python Package
10+
11+
on:
12+
release:
13+
types: [published]
14+
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
deploy:
20+
21+
runs-on: ubuntu-latest
22+
23+
steps:
24+
- uses: actions/checkout@v3
25+
- name: Set up Python
26+
uses: actions/setup-python@v3
27+
with:
28+
python-version: '3.x'
29+
- name: Install dependencies
30+
run: |
31+
python -m pip install --upgrade pip
32+
pip install build
33+
- name: Build package
34+
run: python -m build
35+
- name: Publish package
36+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
37+
with:
38+
user: __token__
39+
password: ${{ secrets.PYPI_API_TOKEN }}

.gitignore

Lines changed: 2 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,4 @@
1-
.DS_Store
2-
*.secrets
3-
.ipynb_checkpoints
4-
data/*
5-
*.log
6-
*.swp
7-
HMP_Dataset
8-
9-
**/.ipynb_checkpoints/*
10-
**/.virtual_documents/*
11-
assets/.METADATA/job_run.*
12-
assets/job_run
13-
__pypackages__/
14-
__pycache__/
15-
*.py[cod]
16-
*$py.class
17-
*.so
18-
share/python-wheels/
19-
*.egg-info/
20-
.installed.cfg
21-
*.egg
22-
*.manifest
23-
*.spec
24-
pip-log.txt
25-
pip-delete-this-directory.txt
26-
htmlcov/
27-
.tox/
28-
.nox/
29-
.coverage
30-
.coverage.*
31-
.cache
32-
nosetests.xml
33-
coverage.xml
34-
*.cover
35-
*.py,cover
36-
.hypothesis/
37-
.pytest_cache/
38-
cover/
39-
*.mo
40-
*.pot
41-
local_settings.py
42-
db.sqlite3
43-
db.sqlite3-journal
44-
instance/
45-
.webassets-cache
46-
.scrapy
47-
docs/_build/
48-
.pybuilder/
49-
profile_default/
50-
ipython_config.py
51-
celerybeat-schedule
52-
celerybeat.pid
53-
.spyderproject
54-
.spyproject
55-
.ropeproject
56-
.mypy_cache/
57-
.pyre/
58-
.pytype/
59-
cython_debug/
601
venv/
612
.venv/
3+
__pycache__
4+
.ipynb_checkpoints/

0 commit comments

Comments
 (0)