From 827ded0cddf19fe4f9dd293db997837891b4f82e Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Sat, 25 Aug 2018 13:49:27 -0400 Subject: [PATCH] Must upload with Twine --- _practicalities/intro.md | 7 +++++++ site.js | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/_practicalities/intro.md b/_practicalities/intro.md index 4c8ca0c..b7a31f6 100644 --- a/_practicalities/intro.md +++ b/_practicalities/intro.md @@ -313,6 +313,13 @@ You can look at the [full check](https://github.com/ipython/ipython/blob/6a3e2db0c299dc05e636653c4a43d0aa756fb1c8/setup.py#L23-L58) that attempt to detect which version of pip is in used. +## Upload with Twine. + +You _must_ upload your package with ``twine`` and NOT with ``setup.py upload``. +If you have an old version of setuptools or ``distutils``, even if +``python_requires`` is set, metadata may not be uploaded correctyl. See [This +issue](https://github.com/pypa/warehouse/issues/3889) on PyPI repository + ## Fix dependant libraries If you control dependant packages, Make sure to include conditional dependencies diff --git a/site.js b/site.js index e7a83f1..2e369d0 100644 --- a/site.js +++ b/site.js @@ -243,7 +243,7 @@ $(document).ready(function (){ var groups = new vis.DataSet(); var g=0; var i=0; - for (var gname in data) { + for (var gname in data) { g++; groups.add({id: g, content: gname}); gr = data[gname];