-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue/232/remove delight (separate packages for dependency-heavy/slow…
… Estimators) (#233) * move to namespace-type packaging * fix versioning * remove bpz and flex from setup * udpated evaluation demo nb * remove __main__ as that is now provided by ceci, added pragma to rail/estimation/algos/knnpz.py * remove unneeded data files * remvoe stuff for pipelines that should go in a second pr * fix readthedocs config * added syntactic sugar to rail.core.stage * fix up rail/core/stage * added makedirs call to DataHandle.write * revert name * full coverage, and delinting * Doing float comparison using np.allclose * added stuff to docs, and fix up docs * put test data back * remove unnecessary files * fix docs * change package distribution name * fix setup.py for twine * update workflows * added minisom dep * move qp to core_extras until it is on pypi * switch to temp versions of qp and hyperbolic * Added dummy file to examples/estimation/data/AB to make sure directoy gets created * fix typo * change to qp-prob * update docs to get the right qp * oops * Address Jeremy and Max's comments Co-authored-by: John Franklin Crenshaw <41785729+jfcrenshaw@users.noreply.github.com> Co-authored-by: sschmidt23 <sschmidt@physics.ucdavis.edu>
- Loading branch information
1 parent
ec3d79c
commit 3921993
Showing
78 changed files
with
814 additions
and
1,910 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[flake8] # flake8 is our last non-pyproject.toml holdout... | ||
max-line-length = 110 | ||
max-doc-length = 79 | ||
extend-ignore = E203 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Upload Python Package | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install setuptools wheel twine | ||
- name: Build and publish | ||
env: | ||
TWINE_USERNAME: __token__ | ||
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} | ||
run: | | ||
python setup.py sdist bdist_wheel | ||
twine upload dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
\rm -rf rail/estimation/data/AB/E*.AB rail/estimation/data/AB/I*.AB rail/estimation/data/AB/S*.AB rail/estimation/data/AB/s*.AB | ||
python -m pytest --cov=./rail --cov-report=html tests | ||
python -m pytest --cov-branch --cov=./rail --cov-report=html tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.