Skip to content

Commit

Permalink
feat: update pypi meta, fix macos upload (#1958)
Browse files Browse the repository at this point in the history
Signed-off-by: Keming <[email protected]>
  • Loading branch information
kemingy authored Jan 20, 2025
1 parent f6d9fd2 commit 7f31185
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,9 @@ jobs:
python setup.py sdist
mv dist/*.tar.gz wheelhouse/
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: wheelhouse/
skip-existing: true
verbose: true
run: |
python -m pip install twine
python -m twine upload --skip-existing wheelhouse/*
image_publish:
name: Build & push images
# only trigger on main repo when tag starts with v
Expand Down
9 changes: 3 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,9 @@ def get_version():
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
]


Expand All @@ -110,7 +108,6 @@ def get_version():
author_email="[email protected]",
packages=find_packages(),
include_package_data=True,
python_requires=">=3.6",
data_files=[("bin", ["bin/envd"])],
classifiers=classifiers,
zip_safe=False,
Expand Down

0 comments on commit 7f31185

Please sign in to comment.