Skip to content

Commit 54ad2d1

Browse files
committed
chore: Update the pip upload.
1 parent 2b9b8ee commit 54ad2d1

2 files changed

Lines changed: 4 additions & 9 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,11 @@ jobs:
2424

2525
- uses: actions/setup-python@v5
2626
with:
27-
python-version: "3.10"
28-
29-
- name: Install dependencies
30-
run: |
31-
python -m pip install --upgrade pip
32-
pip install -r requirements.txt
27+
python-version: "3.10.16"
3328

3429
- name: Build release distributions
3530
run: |
36-
python -m pip install build
31+
python -m pip install build==1.2.2.post1 setuptools==67.8.0
3732
python -m build
3833
3934
- name: Upload distributions

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ def get_long_description():
4242
packages=find_packages(),
4343
python_requires=">=3.8",
4444
# Windows users may get path problems, replace get_install_requirements() with package_list
45-
install_requires=get_install_requirements(),
45+
# install_requires=get_install_requirements(),
46+
install_requires=package_list,
4647
license="Apache-2.0",
4748
description="IDDM: Integrated Design Diffusion Model",
4849
long_description=get_long_description(),
@@ -52,7 +53,6 @@ def get_long_description():
5253
url="https://github.com/chairc/Integrated-Design-Diffusion-Model",
5354
classifiers=[
5455
"Programming Language :: Python :: 3",
55-
"License :: OSI Approved :: Apache Software License",
5656
"Operating System :: OS Independent",
5757
],
5858
project_urls={

0 commit comments

Comments
 (0)