Skip to content
Snippets Groups Projects
Commit e32ae145 authored by Alexandre Beelen's avatar Alexandre Beelen Committed by Alexandre Beelen
Browse files

0.3.0

Add(rtd) config file

Update .readthedocs.yaml
parent 16f8ec75
Branches master
Tags 0.3
No related merge requests found
Pipeline #15485 failed
...@@ -29,6 +29,8 @@ pypi: ...@@ -29,6 +29,8 @@ pypi:
script: script:
- python3 -m build - python3 -m build
- python3 -m twine check dist/* - python3 -m twine check dist/*
- python3 -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/* #- python3 -m twine upload --repository testpypi dist/*
- python3 -m twine upload dist/*
# - python3 -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
only: only:
- tags - tags
\ No newline at end of file
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/rtd-pip-requirements
version: 2
build:
os: ubuntu-20.04
tools:
python: '3.7"
python:
install:
- method: pip
path: .
extra_requirements:
- docs
- all
formats: []
...@@ -4,8 +4,8 @@ Power Spectrum ...@@ -4,8 +4,8 @@ Power Spectrum
This package provides functions to compute power and cross spectral density of 2D arrays. Units are properly taken into account. More information is available in the documentation, avaliable `online at readthedocs.org <http://powspec.rtfd.org>`__. This package provides functions to compute power and cross spectral density of 2D arrays. Units are properly taken into account. More information is available in the documentation, avaliable `online at readthedocs.org <http://powspec.rtfd.org>`__.
.. image:: http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat .. image:: http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat
:target: http://www.astropy.org :target: http://www.astropy.org
:alt: Powered by Astropy Badge :alt: Powered by Astropy Badge
Build and coverage status Build and coverage status
========================= =========================
...@@ -20,7 +20,7 @@ Build and coverage status ...@@ -20,7 +20,7 @@ Build and coverage status
:target: https://zenodo.org/badge/latestdoi/259882655 :target: https://zenodo.org/badge/latestdoi/259882655
License License
------- -------
This project is Copyright (c) Alexandre Beelen, Mathilde Van Cuyck and licensed under This project is Copyright (c) Alexandre Beelen, Mathilde Van Cuyck and licensed under
......
sphinx-gallery sphinx-gallery
sphinx-automodapi
numpy numpy
scipy scipy
astropy astropy
matplotlib matplotlib
-e git+http://github.com/abeelen/powspec.git#egg=powspec powspec
#-e git+http://github.com/abeelen/powspec.git#egg=powspec
...@@ -3,7 +3,7 @@ from .powspec import power_spectral_density, cross_spectral_density ...@@ -3,7 +3,7 @@ from .powspec import power_spectral_density, cross_spectral_density
from .utils.apod import shrink_mask, fft_2d_hanning from .utils.apod import shrink_mask, fft_2d_hanning
from .utils.generator import Pk, gen_pkfield from .utils.generator import Pk, gen_pkfield
__all__ = [__version__] __all__ = []
# Then you can be explicit to control what ends up in the namespace, # Then you can be explicit to control what ends up in the namespace,
__all__ += ["power_spectral_density", "cross_spectral_density"] __all__ += ["power_spectral_density", "cross_spectral_density"]
__all__ += ["shrink_mask", "fft_2d_hanning"] __all__ += ["shrink_mask", "fft_2d_hanning"]
......
...@@ -14,4 +14,4 @@ except Exception: ...@@ -14,4 +14,4 @@ except Exception:
) )
del warnings del warnings
version = '0.2.3' version = '0.3.0'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment