Skip to content

Commit

Permalink
Tune setup and PyPI workflow.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 565478586
  • Loading branch information
daiyip authored and langfun authors committed Sep 14, 2023
1 parent 8f54b31 commit 6b22135
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
pip install -r requirements.txt
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
# Remove the parallel image for Github dark mode in README.md
sed -i -e 's$<img src="https://raw.githubusercontent.com/google/langfun/main/docs/_static/logo.svg#gh-dark-mode-only" width="320px" alt="logo"></img>$$' README.md
Expand Down
4 changes: 2 additions & 2 deletions .github/pypi.yaml → .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
pip install -r requirements.txt
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
# Remove the parallel image for Github dark mode in README.md
sed -i -e 's$<img src="https://raw.githubusercontent.com/google/langfun/main/docs/_static/logo.svg#gh-dark-mode-only" width="320px" alt="logo"></img>$$' README.md
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pyglove>=0.43
jinja2>=3.1.2
openai>=0.18.1
pyglove>=0.4.3
termcolor==1.1.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def _strip_comments_from_line(s: str) -> str:
include_package_data=True,
# PyPI package information.
classifiers=[
'Development Status :: 3 - Alpha Copy',
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
Expand Down

0 comments on commit 6b22135

Please sign in to comment.