Skip to content

Simplify TestPyPI install instructions to just extra-index-url#1944

Merged
weiji14 merged 1 commit intomainfrom
simplify-testpypi-install
Jun 8, 2022
Merged

Simplify TestPyPI install instructions to just extra-index-url#1944
weiji14 merged 1 commit intomainfrom
simplify-testpypi-install

Conversation

@weiji14
Copy link
Copy Markdown
Member

@weiji14 weiji14 commented Jun 7, 2022

Description of proposed changes

The default --index-url is https://pypi.org/simple, so just need to set --extra-index-url to point to TestPyPI.

To test locally, do:

mamba create --name testpypi -y python=3.9
mamba activate testpypi
pip install --pre --extra-index-url https://test.pypi.org/simple/ pygmt

Patches #865

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If wrapping a new module, open a 'Wrap new GMT module' issue and submit reasonably-sized PRs.
  • If adding new functionality, add an example to docstrings or tutorials.

Slash Commands

You can write slash commands (/command) in the first line of a comment to perform
specific operations. Supported slash commands are:

  • /format: automatically format and lint the code
  • /test-gmt-dev: run full tests on the latest GMT development version

The default `--index-url` is https://pypi.org/simple, so just need to set `--extra-index-url` to point to TestPyPI.
@weiji14 weiji14 added documentation Improvements or additions to documentation skip-changelog Skip adding Pull Request to changelog labels Jun 7, 2022
@weiji14 weiji14 added this to the 0.7.0 milestone Jun 7, 2022
@weiji14 weiji14 self-assigned this Jun 7, 2022
@weiji14 weiji14 marked this pull request as ready for review June 8, 2022 02:06
@weiji14 weiji14 merged commit 25c06dc into main Jun 8, 2022
@weiji14 weiji14 deleted the simplify-testpypi-install branch June 8, 2022 02:41
sixy6e pushed a commit to sixy6e/pygmt that referenced this pull request Dec 21, 2022
…icMappingTools#1944)

The default `--index-url` is https://pypi.org/simple, so just need to set `--extra-index-url` to point to TestPyPI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants