File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 run : |
4646 python -m pip install build
4747 python -m build --sdist --wheel
48-
48+ release :
49+ needs : build
50+ runs-on : macos-latest
51+ if : startsWith(github.ref, 'refs/tags/')
52+ steps :
53+ - uses : actions/checkout@v4
54+ - name : Set up Python
55+ uses : actions/setup-python@v5
56+ with :
57+ python-version : 3.11
58+ cache : " pip"
59+ - name : Install build tools
60+ run : python -m pip install --upgrade pip build twine
61+ - name : Publish to PyPI
62+ env :
63+ TWINE_USERNAME : __token__
64+ TWINE_PASSWORD : ${{ secrets.PYPI_API_KEY }}
65+ run : |
66+ python -m build
67+ twine upload dist/*
4968
Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ The core dependencies of cde are minimal:
3030- PyTorch
3131- NumPy
3232- pandas
33+ - scipy
34+ - scikit-learn
35+ - wandb
3336
3437## Installation
3538
Original file line number Diff line number Diff line change 44 long_description = fh .read ()
55
66setup (name = 'cde' ,
7- version = '0.5.1 ' ,
7+ version = '1.0 ' ,
88 long_description = long_description ,
99 description = 'Framework for conditional density estimation' ,
10- url = 'https://jonasrothfuss. github.io/Nonparametric_Density_Estimation ' ,
10+ url = 'https://github.com/freelunchtheorem/Conditional_Density_Estimation ' ,
1111 author = 'Jonas Rothfuss, Fabio Ferreira' ,
1212 author_email = 'jonas.rothfuss@gmx.de, fabioferreira@mailbox.org' ,
1313 license = 'MIT' ,
2222 'scikit_learn' ,
2323 'statsmodels' ,
2424 'wandb' ,
25- 'progressbar2' ,
26- 'xlrd'
2725 ],
2826 zip_safe = False )
You can’t perform that action at this time.
0 commit comments