Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
List repository URL in project_urls
Browse files Browse the repository at this point in the history
download_url (which seems to be effectively deprecated anyway) is not the
appropriate place to put a repository URL.

This requires setuptools 38.3.0+.
  • Loading branch information
jwodder committed Aug 3, 2020
1 parent 8a2e11e commit 61c0199
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[build-system]
# Setuptools version should match setup.py; wheel because pip will insert it noisily
requires = ["setuptools >= 30.3.0", "wheel"]
requires = ["setuptools >= 38.3.0", "wheel"]
build-backend = 'setuptools.build_meta'
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[metadata]
name = dandi
url = http://dandiarchive.org
download_url = https://github.com/dandi/dandi-cli
author = DANDI developers
author_email = team@dandiarchive.org
maintainer = Yaroslav O. Halchenko
Expand All @@ -24,6 +23,8 @@ long_description_content_type = text/markdown; charset=UTF-8
platforms = OS Independent
provides =
dandi
project_urls =
Source Code = https://github.com/dandi/dandi-cli

[options]
python_requires = >=3.6
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
# Give setuptools a hint to complain if it's too old a version
# 30.3.0 allows us to put most metadata in setup.cfg
# Should match pyproject.toml
SETUP_REQUIRES = ["setuptools >= 30.3.0"]
SETUP_REQUIRES = ["setuptools >= 38.3.0"]
# This enables setuptools to install wheel on-the-fly
SETUP_REQUIRES += ["wheel"] if "bdist_wheel" in sys.argv else []

Expand Down

0 comments on commit 61c0199

Please sign in to comment.