Skip to content

pip wheel : make sure wheel creation works out-of-the box  #92

@Didou09

Description

@Didou09

So far, wheel creation seems to work fine provided that the tests on openmp are commented out in the setup.py.

Find an elegant generic solution to that.

Method : create a dedicated branch from devel, named using the issue number


De : LE BOURDAIS Florian Florian.LEBOURDAIS@cea.fr
Envoyé : jeudi 13 juin 2019 17:27
À : VEZINET Didier 226270 Didier.VEZINET@cea.fr
Objet : RE: Packaging Python

D’accord, merci pour l’info !

En fait, je génère des wheel à l’aide de la commande suivante :
Python setup.py bdist_wheel
Ca fonctionne tout seul normalement. D’ailleurs je viens de tester avec tofu et moyennant des imports manuels et la mise en commentaire du test openmp, j’ai réussi à obtenir un wheel :

Et en installant le wheel, j’ai bien réussi à importer tofu :

Donc a priori, le setup.py est bien configuré pour faire des wheel avec le code binaire généré par Cython !

C’est cool ça 

Je vais essayer de lancer les tests maintenant !
Florian

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions