Skip to content

Commit 7f31185

Browse files
authored
feat: update pypi meta, fix macos upload (#1958)
Signed-off-by: Keming <[email protected]>
1 parent f6d9fd2 commit 7f31185

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

.github/workflows/release.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,9 @@ jobs:
8686
python setup.py sdist
8787
mv dist/*.tar.gz wheelhouse/
8888
- name: Publish package distributions to PyPI
89-
uses: pypa/gh-action-pypi-publish@release/v1
90-
with:
91-
packages-dir: wheelhouse/
92-
skip-existing: true
93-
verbose: true
89+
run: |
90+
python -m pip install twine
91+
python -m twine upload --skip-existing wheelhouse/*
9492
image_publish:
9593
name: Build & push images
9694
# only trigger on main repo when tag starts with v

setup.py

+3-6
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,9 @@ def get_version():
8888
"Intended Audience :: Science/Research",
8989
"Intended Audience :: Developers",
9090
"License :: OSI Approved :: Apache Software License",
91-
"Programming Language :: Python :: 3.9",
92-
"Programming Language :: Python :: 3.10",
93-
"Programming Language :: Python :: 3.11",
94-
"Programming Language :: Python :: 3.12",
95-
"Programming Language :: Python :: 3.13",
91+
"Programming Language :: Python",
92+
"Programming Language :: Python :: 2",
93+
"Programming Language :: Python :: 3",
9694
]
9795

9896

@@ -110,7 +108,6 @@ def get_version():
110108
author_email="[email protected]",
111109
packages=find_packages(),
112110
include_package_data=True,
113-
python_requires=">=3.6",
114111
data_files=[("bin", ["bin/envd"])],
115112
classifiers=classifiers,
116113
zip_safe=False,

0 commit comments

Comments
 (0)