Skip to content

Commit 36fce03

Browse files
committed
specify image and fix license
1 parent 8a6d1a9 commit 36fce03

File tree

3 files changed

+39
-33
lines changed

3 files changed

+39
-33
lines changed

.github/workflows/publish.yml

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,32 +17,32 @@ jobs:
1717
matrix:
1818
include:
1919
# Linux x86_64
20-
- os: ubuntu-latest
21-
python: cp310
22-
arch: x86_64
23-
- os: ubuntu-latest
24-
python: cp311
25-
arch: x86_64
20+
# - os: ubuntu-latest
21+
# python: cp310
22+
# arch: x86_64
23+
# - os: ubuntu-latest
24+
# python: cp311
25+
# arch: x86_64
2626
- os: ubuntu-latest
2727
python: cp312
2828
arch: x86_64
2929
# Linux aarch64
30-
- os: ubuntu-latest
31-
python: cp310
32-
arch: aarch64
33-
- os: ubuntu-latest
34-
python: cp311
35-
arch: aarch64
36-
- os: ubuntu-latest
37-
python: cp312
38-
arch: aarch64
30+
# - os: ubuntu-latest
31+
# python: cp310
32+
# arch: aarch64
33+
# - os: ubuntu-latest
34+
# python: cp311
35+
# arch: aarch64
36+
# - os: ubuntu-latest
37+
# python: cp312
38+
# arch: aarch64
3939
# Windows
40-
- os: windows-latest
41-
python: cp310
42-
arch: AMD64
43-
- os: windows-latest
44-
python: cp311
45-
arch: AMD64
40+
# - os: windows-latest
41+
# python: cp310
42+
# arch: AMD64
43+
# - os: windows-latest
44+
# python: cp311
45+
# arch: AMD64
4646
- os: windows-latest
4747
python: cp312
4848
arch: AMD64
@@ -61,6 +61,8 @@ jobs:
6161
env:
6262
CIBW_BUILD: ${{ matrix.python }}-*
6363
CIBW_ARCHS: ${{ matrix.arch }}
64+
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux_2_28"
65+
CIBW_MANYLINUX_AARCH64_IMAGE: "manylinux_2_28"
6466
CIBW_BEFORE_ALL_LINUX: >
6567
yum install -y epel-release &&
6668
yum install -y libpng-devel libjpeg-turbo-devel eigen3-devel glm-devel glfw-devel

pyproject.toml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
[project]
2-
name = "pyridescence"
3-
version = "0.1.7"
4-
authors = [{name = "Kenji Koide", email = "[email protected]"}]
5-
description = "3D visualization library for rapid prototyping of 3D algorithms"
6-
readme = "README.md"
7-
license = {file = "LICENSE"}
8-
requires-python = ">=3.7"
9-
dependencies = ["numpy"]
10-
111
[build-system]
122
requires = ["setuptools", "scikit-build>=0.13", "scikit-build-core >=0.10", "pybind11 >2.10.0"]
133
build-backend = "scikit_build_core.setuptools.build_meta"

setup.py

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
11
from setuptools import find_packages, setup
2+
3+
with open("README.md", "r", encoding="utf-8") as fh:
4+
long_description = fh.read()
5+
26
setup(
7+
name="pyridescence",
8+
version="0.1.7",
9+
author="Kenji Koide",
10+
author_email="[email protected]",
11+
description="3D visualization library for rapid prototyping of 3D algorithms",
12+
long_description=long_description,
13+
long_description_content_type="text/markdown",
14+
license="MIT",
315
cmake_source_dir=".",
4-
packages=['pyridescence_data'],
16+
packages=['pyridescence_data', 'pyridescence_data.texture', 'pyridescence_data.shader', 'pyridescence_data.models'],
517
package_dir={'pyridescence_data': 'data'},
6-
include_package_data=True
18+
include_package_data=True,
19+
python_requires=">=3.7",
20+
install_requires=["numpy"],
721
)

0 commit comments

Comments
 (0)