From 9fbb183820a01d7c1a4b90e926b76ad98a564d62 Mon Sep 17 00:00:00 2001 From: Ed Morley Date: Mon, 7 Aug 2017 22:25:22 +0100 Subject: [PATCH] Generate a universal wheel in addition to the source distribution See: https://packaging.python.org/tutorials/distributing-packages/#universal-wheels https://docs.travis-ci.com/user/deployment/pypi/#Uploading-different-distributions Fixes #219. --- .travis.yml | 1 + setup.cfg | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index b219f33..13976d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -64,3 +64,4 @@ deploy: tags: true password: secure: kymIFCEPUbkgRqe2NAXkWfxMmGRfWvWBOP6LIXdVdkOOkm91fU7bndPGrAjos+/7gN0Org609ZmHSlVXNMJUWcsL2or/x5LcADJ4cZDe+79qynuoRb9xs1Ri4O4SBAuVMZxuVJvs8oUzT2R11ql5vASSMtXgbX+ZDGpmPRVZStkCuXgOc4LBhbPKyl3OFy7UQFPgAEmy3Yjh4ZSKzlXheK+S6mmr60+DCIjpaA0BWPxYK9FUE0qm7JJbHLUbwsUP/QMp5MmGjwFisXCNsIe686B7QKRaiOw62eJc2R7He8AuEC8T9OM4kRwDlecSn8mMpkoSB7QWtlJ+6XdLrJFPNvtrOfgfzS9/96Qrw9WlOslk68hMlhJeRb0s2YUD8tiV3UUkvbL1mfFoS4SI9U+rojS55KhUEJWHg1w7DjoOPoZmaIL2ChRupmvrFYNAGae1cxwG3Urh+t3wYlN3gpKsRDe5GOT7Wm2tr0ad3McCpDGUwSChX59BAJXe/MoLxkKScTrMyR8yMxHOF0b4zpVn5l7xB/o2Ik4zavx5q/0rGBMK2D+5d+gpQogKShoquTPsZUwO7sB5hYeH2hqGqpeGzZtb76E2zZYd18pJ0FsBudm5+KWjYdZ+vbtGrLxdTXJ1EEtzVXm0lscykTpqUucbXSa51dhStJvW2xEEz6p3rHo= + distributions: "sdist bdist_wheel" diff --git a/setup.cfg b/setup.cfg index fe61dcf..546ad67 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,9 @@ [aliases] test=pytest +[bdist_wheel] +universal=1 + [flake8] exclude = setup.py,docs/*,examples/*,tests,graphene_django/debug/sql/* max-line-length = 120