diff --git a/asv.conf.json b/asv.conf.json index e20ed9b..dc3d728 100644 --- a/asv.conf.json +++ b/asv.conf.json @@ -39,7 +39,7 @@ // List of branches to benchmark. If not provided, defaults to "master" // (for git) or "default" (for mercurial). - "branches": ["main"], + "branches": ["HEAD"], // The DVCS being used. If not set, it will be automatically // determined from "repo" by looking at the protocol in the URL diff --git a/doc/source/dev/running_the_benchmarks.md b/doc/source/dev/running_the_benchmarks.md index e15efe9..ea1d679 100644 --- a/doc/source/dev/running_the_benchmarks.md +++ b/doc/source/dev/running_the_benchmarks.md @@ -2,22 +2,12 @@ This document outlines how to setup and run the benchmarks using [asv](https://asv.readthedocs.io/en/v0.6.1/). -## Installing asv - -`asv` can be installed with poetry via the `bench` group to install the bench group run: - -```shell -poetry install --with=bench -``` - -This will install ``asv`` into your poetry environment. - ## Running the benchmarks To run the benchmarks with ``asv``, simply enter: ```shell -poetry run asv run +asv run ``` ## Viewing the results @@ -27,13 +17,13 @@ There are two steps to viewing the results locally. The results need to be publi To publish the results use: ```shell -poetry run asv publish +asv publish ``` And then to view the results: ```shell -poetry run asv preview +asv preview ``` This will launch a local web browser from which you can view the results @@ -43,7 +33,7 @@ This will launch a local web browser from which you can view the results One common use case is to use ``asv`` in development, there are several useful flags that should be used: ```shell -poetry run asv --python=same --quick --dry-run +asv --python=same --quick --dry-run ``` We are adding three flags, these flags are: diff --git a/pyproject.toml b/pyproject.toml index d1cfc52..a08f689 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,9 +11,9 @@ name = "numpy-financial" version = "2.0.0" requires-python = ">=3.10" description = "Simple financial functions" -license = "BSD-3-Clause" -authors = ["Travis E. Oliphant et al."] -maintainers = ["Numpy Financial Developers "] +license = {file = "LICENSE.txt"} +authors = [{name = "Travis E. Oliphant et al."}] +maintainers = [{ name = "Numpy Financial Developers", email = "numpy-discussion@python.org" }] readme = "README.md" homepage = "https://numpy.org/numpy-financial/latest/" repository = "https://github.com/numpy/numpy-financial"