Skip to content

Commit

Permalink
Attempt 3.
Browse files Browse the repository at this point in the history
  • Loading branch information
crisluengo committed Jan 28, 2025
1 parent 69fb594 commit bb8cd0c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

- name: Install
# Install libraries and Python packages we need
run: python3 -m pip install twine
run: python3 -m pip install -U twine

- name: Deploy
run: bash tools/build/deploy_linux.sh
Expand Down
3 changes: 2 additions & 1 deletion pydip/setup/setup.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ setup_kwargs = dict(
author="Cris Luengo and others",
author_email="[email protected]",
license='Apache',
license_files=[], # Leaving this empty makes it so that there's no license-file entry in the METADATA file, which causes twine to balk.
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
Expand All @@ -61,7 +62,7 @@ setup_kwargs = dict(
ext_modules=[Extension('diplib.PyDIP_bin', [])],
package_data={'diplib': libraries},
entry_points={'gui_scripts': ['dipview = diplib.dipview:main']},
python_requires='>=3.8'
python_requires='>=3.8',
)

name = os.path.join("$<TARGET_FILE_DIR:PyDIP_bin>", "staging", "dist", wheel_name(**setup_kwargs))
Expand Down
4 changes: 2 additions & 2 deletions tools/build/manylinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

# Setup
yum -y install freeglut-devel java-1.8.0-openjdk-devel.x86_64
/opt/python/cp39-cp39/bin/python -m pip install cmake auditwheel
CMAKE=/opt/python/cp39-cp39/lib/python3.9/site-packages/cmake/data/bin/cmake
/opt/python/cp312-cp312/bin/python -m pip install cmake auditwheel
CMAKE=/opt/python/cp312-cp312/lib/python3.12/site-packages/cmake/data/bin/cmake
BUILD_THREADS=4
PYTHON_VERSIONS=(3.12 3.13)
EXCLUDES=(libjvm.so libOpenGL.so.0 libGLX.so.0 libGLdispatch.so.0)
Expand Down

0 comments on commit bb8cd0c

Please sign in to comment.