Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d15128b

Browse files
committed
MAINT update links and instructions to download and upload from PyPI
1 parent 52e4a30 commit d15128b

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ be placed in ``_build/html/`` and are viewable in a web browser. See the
224224

225225
For building the documentation, you will need
226226
[sphinx](http://sphinx.pocoo.org/),
227-
[matplotlib](http://matplotlib.sourceforge.net/), and
227+
[matplotlib](http://matplotlib.org/), and
228228
[pillow](http://pillow.readthedocs.io/en/latest/).
229229

230230
When you are writing documentation, it is important to keep a good

doc/developers/maintainer.rst

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,21 @@ Making a release
3737

3838
$ python setup.py sdist register upload
3939

40-
- Upload manually the tarball on SourceForge:
41-
https://sourceforge.net/projects/scikit-learn/files/
4240

4341
5. Push the documentation to the website (see README in doc folder)
4442

4543

46-
6. Build binaries for windows and push them to PyPI::
44+
6. Build binaries using dedicated CI servers by updating the git submodule
45+
reference to the new scikit-learn tag of the release at:
4746

48-
$ python setup.py bdist_wininst upload
47+
https://github.com/MacPython/scikit-learn-wheels
48+
49+
Once the CI has completed successfully, collect the generated binary wheel
50+
packages and upload them to PyPI by running the following commands in the
51+
scikit-learn source folder (checked out at the release tag)::
52+
53+
$ pip install -U wheelhouse_uploader
54+
$ python setup.py sdist fetch_artifacts upload_all
4955

50-
And upload them also to sourceforge
5156

5257
7. FOR FINAL RELEASE: Update the release date in What's New

doc/related_projects.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ Other packages useful for data analysis and machine learning.
218218
- `theano <http://deeplearning.net/software/theano/>`_ A CPU/GPU array
219219
processing framework geared towards deep learning research.
220220

221-
- `statsmodels <http://statsmodels.sourceforge.net/>`_ Estimating and analysing
221+
- `statsmodels <http://www.statsmodels.org>`_ Estimating and analysing
222222
statistical models. More focused on statistical tests and less on prediction
223223
than scikit-learn.
224224

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
MAINTAINER = 'Andreas Mueller'
3333
MAINTAINER_EMAIL = '[email protected]'
3434
URL = 'http://scikit-learn.org'
35+
DOWNLOAD_URL = 'https://pypi.org/project/scikit-learn/#files'
3536
LICENSE = 'new BSD'
3637

3738
# We can actually import a restricted version of sklearn that
@@ -183,6 +184,7 @@ def setup_package():
183184
description=DESCRIPTION,
184185
license=LICENSE,
185186
url=URL,
187+
download_url=DOWNLOAD_URL,
186188
version=VERSION,
187189
long_description=LONG_DESCRIPTION,
188190
classifiers=['Intended Audience :: Science/Research',

0 commit comments

Comments
 (0)