GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [QUESTION] Check validity of `setup.py` in build · Issue #2446 · googleapis/google-cloud-python

[QUESTION] Check validity of setup.py in build #2446

New issue
Copy link
New issue
Copy link
Closed
Closed
[QUESTION] Check validity of setup.py in build#2446
Copy link
Assignees
tseaver
Labels
type: questionRequest for information or clarification. Not an issue.

Description

@dhermes
dhermes
opened on Sep 27, 2016
Issue body actions

H/T to http://inre.dundeemt.com/2014-05-17/pypi-setup-py-keeping-a-dry-long_description/ (I was Googling around for DRY in setup.py)

python setup.py check --restructuredtext --strict

For example, running it on the post #2442 version gives:

$ python setup.py check --restructuredtext --strict
running check
warning: check: Duplicate implicit target name: "contributing".

warning: check: Duplicate implicit target name: "license".

error: Please correct your package.

because we have sections named license and contributing as well as links with those names. This could be fixed via

diff --git a/README.rst b/README.rst
index 715368b..bbf0f72 100644
--- a/README.rst
+++ b/README.rst
@@ -96,16 +96,16 @@ Contributing

 Contributions to this library are always welcome and highly encouraged.

-See `CONTRIBUTING`_ for more information on how to get started.
+`See CONTRIBUTING`_ for more information on how to get started.

-.. _CONTRIBUTING: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/CONTRIBUTING.rst
+.. _See CONTRIBUTING: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/CONTRIBUTING.rst

 License
 -------

-Apache 2.0 - See `LICENSE`_ for more information.
+Apache 2.0 - `See LICENSE`_ for more information.

-.. _LICENSE: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/LICENSE
+.. _See LICENSE: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/LICENSE

 .. |build| image:: https://travis-ci.org/GoogleCloudPlatform/google-cloud-python.svg?branch=master
    :target: https://travis-ci.org/GoogleCloudPlatform/google-cloud-python

Activity

Next
  1. dhermes
    added
    type: questionRequest for information or clarification. Not an issue.
    build
    on Sep 27, 2016
  2. dhermes
    assigned
    daspecster
    and
    tseaver
    on Sep 27, 2016
  3. lukesneeringer
    closed this as completedon Apr 19, 2017
  4. lukesneeringer
    unassigned
    daspecster
    on Apr 19, 2017
  5. theacodes commented on Apr 19, 2017

    @theacodes
    theacodes
    on Apr 19, 2017
    Contributor
    More actions

    We should do this. Google-auth does it.

  6. theacodes
    reopened this on Apr 19, 2017
  7. dhermes commented on Apr 19, 2017

    @dhermes
    dhermes
    on Apr 19, 2017
    ContributorAuthor
    More actions

    @jonparrott Jinx! I'm going to send a PR for adding this to nox -e lint for the subpackages. Should I add a nox -e lint for the top-level package?

  8. lukesneeringer commented on Apr 19, 2017

    @lukesneeringer
    lukesneeringer
    on Apr 19, 2017
    Contributor
    More actions

    I would prefer it be a separate nox session if possible.

  9. dhermes
    added a commit that references this issue on Apr 20, 2017

    Adding check that **all** setup.py README's are valid RST.

    This issue will close once commit b66f17e is merged into the 'master' branch.
    b66f17e
  10. dhermes
    closed this as completedin #3318on Apr 20, 2017
  11. dhermes
    added a commit that references this issue on Apr 20, 2017

    Adding check that **all** setup.py README's are valid RST. (#3318)

    This issue will close once commit 8a950b4 is merged into the 'main' branch.
    8a950b4
  12. richkadel
    added a commit that references this issue on May 6, 2017

    Adding check that **all** setup.py README's are valid RST. (googleapi…

    This issue will close once commit 4c17230 is merged into the 'master' branch.
    4c17230
  13. atulep
    added a commit that references this issue on Apr 3, 2023

    Adding check that **all** setup.py README's are valid RST. (#3318)

    This issue will close once commit 38c2192 is merged into the 'main' branch.
    38c2192
  14. 2 remaining items

  15. parthea
    added a commit that references this issue on Jul 6, 2023

    Adding check that **all** setup.py README's are valid RST. (#3318)

    This issue will close once commit b50089c is merged into the 'main' branch.
    b50089c
  16. parthea
    added 4 commits that reference this issue on Oct 21, 2023

    Adding check that **all** setup.py README's are valid RST. (#3318)

    This issue will close once commit 8a712f6 is merged into the 'main' branch.
    8a712f6

    Adding check that **all** setup.py README's are valid RST. (#3318)

    This issue will close once commit ee1cc86 is merged into the 'main' branch.
    ee1cc86

    Adding check that **all** setup.py README's are valid RST. (#3318)

    This issue will close once commit 311a4e3 is merged into the 'main' branch.
    311a4e3

    Adding check that **all** setup.py README's are valid RST. (#3318)

    This issue will close once commit 3a008e3 is merged into the 'main' branch.
    3a008e3
  17. parthea
    added 6 commits that reference this issue on Nov 22, 2025

    Adding check that **all** setup.py README's are valid RST. (#3318)

    This issue will close once commit e6282c9 is merged into the 'main' branch.
    e6282c9

    Adding check that **all** setup.py README's are valid RST. (#3318)

    This issue will close once commit 065ec4e is merged into the 'main' branch.
    065ec4e

    Adding check that **all** setup.py README's are valid RST. (#3318)

    This issue will close once commit 20eec54 is merged into the 'main' branch.
    20eec54

    Adding check that **all** setup.py README's are valid RST. (#3318)

    This issue will close once commit b18224e is merged into the 'main' branch.
    b18224e

    Adding check that **all** setup.py README's are valid RST. (#3318)

    This issue will close once commit c980023 is merged into the 'main' branch.
    c980023

    Adding check that **all** setup.py README's are valid RST. (#3318)

    This issue will close once commit fe0063e is merged into the 'main' branch.
    fe0063e
  18. parthea
    added a commit that references this issue on Mar 2, 2026

    Adding check that **all** setup.py README's are valid RST. (#3318)

    This issue will close once commit 4da4b4b is merged into the 'main' branch.
    4da4b4b
  19. parthea
    added 2 commits that reference this issue on Mar 9, 2026

    Adding check that **all** setup.py README's are valid RST. (#3318)

    This issue will close once commit 77a74cb is merged into the 'main' branch.
    77a74cb

    Adding check that **all** setup.py README's are valid RST. (#3318)

    This issue will close once commit 6a5a538 is merged into the 'main' branch.
    6a5a538
  20. parthea
    added a commit that references this issue on Apr 1, 2026

    chore: librarian release pull request: 20260207T015024Z (#2446)

    2f8fc72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @tseaver
    tseaver

Labels

type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.