Skip to content

Conversation

Vyacheslav-Smirnov
Copy link
Contributor

  • Update README
  • Set RPATH to dpctl and dpnp itself
  • Fix in setup.py

Alexander-Makaryev and others added 5 commits February 10, 2021 16:36
* Update packages wheel deps

* Do not search deps via setuptools

* Fix build: no search for dpes via setuptools

* Add set -ex to build.sh

* Revert changes to meta.yaml, build.sh and install_requires in setup.py

* Remove author_email

* Add correct license description

* Add How to for install dpnp wheel package

* Add RPATH for wheels; update readme
@Vyacheslav-Smirnov Vyacheslav-Smirnov changed the title Wheel changes master Wheel changes to master Mar 19, 2021
@@ -25,6 +25,10 @@ if [ -n "${TBBROOT}" ]; then
. ${TBBROOT}/env/vars.sh
fi

# Set RPATH for wheels
export CFLAGS="-Wl,-rpath,\$ORIGIN/../dpctl,-rpath,\$ORIGIN $CFLAGS"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How it will work in Windows?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "build.sh" file is used only for unix build. For windows there should be bld.bat with build commands.
As there is no bld.bat file, windows build now is just fake)

maintainer="Intel Corp.",
maintainer_email="scripting@intel.com",
url="https://intelpython.github.io/dpnp/",
download_url="https://github.com/IntelPython/dpnp",
license=__license_file__,
license='BSD',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change related to "wheel testing"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, changing setup.py format is required to build a good wheel which can be uploaded to Pypi

@Vyacheslav-Smirnov
Copy link
Contributor Author

@shssf , Are you ok with the changes?

@Vyacheslav-Smirnov
Copy link
Contributor Author

Will be merged in scope of #657

@shssf shssf merged commit f5a401e into master Mar 25, 2021
@shssf shssf deleted the wheel_changes_master branch March 25, 2021 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants