Skip to content

Commit

Permalink
PPB: rtd updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Palma-Bifani committed Aug 3, 2024
1 parent fb761d9 commit 595f054
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 22 deletions.
2 changes: 1 addition & 1 deletion ForMoSA/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os

__version__ = "2.0.0"
__version__ = "1.1.0"

__all__ = ['adapt', 'nested_sampling','plotting']
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/_build/doctrees/index.doctree
Binary file not shown.
25 changes: 20 additions & 5 deletions docs/_build/html/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,24 @@ We encourage the community to exploit its capabilities!
api.rst


Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
Attribution:
++++++++++++

Please cite `Petrus et al (2023) <https://ui.adsabs.harvard.edu/abs/2023A%26A...670L...9P/abstract>`_.



Version Track:
++++++++++++++

``1.0.13``
First version distributed, presented at `Cloud Academy 3. <https://alienearths.space/cloud-academy-3/>`_.

``1.0.5``
First operational release.


Acknowledgments:
++++++++++++++++
Our sincere thanks to `Code/Astro <https://semaphorep.github.io/codeastro/>`_.
21 changes: 14 additions & 7 deletions docs/_build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,21 @@ <h1>Forward Modeling Tool for Spectral Analysis<a class="headerlink" href="#forw
</li>
</ul>
</div>
<section id="attribution">
<h2>Attribution:<a class="headerlink" href="#attribution" title="Link to this heading"></a></h2>
<p>Please cite <a class="reference external" href="https://ui.adsabs.harvard.edu/abs/2023A%26A...670L...9P/abstract">Petrus et al (2023)</a>.</p>
</section>
<section id="version-track">
<h2>Version Track:<a class="headerlink" href="#version-track" title="Link to this heading"></a></h2>
<p><code class="docutils literal notranslate"><span class="pre">1.0.13</span></code>
First version distributed, presented at <a class="reference external" href="https://alienearths.space/cloud-academy-3/">Cloud Academy 3.</a>.</p>
<p><code class="docutils literal notranslate"><span class="pre">1.0.5</span></code>
First operational release.</p>
</section>
<section id="acknowledgments">
<h2>Acknowledgments:<a class="headerlink" href="#acknowledgments" title="Link to this heading"></a></h2>
<p>Our sincere thanks to <a class="reference external" href="https://semaphorep.github.io/codeastro/">Code/Astro</a>.</p>
</section>
<section id="indices-and-tables">
<h1>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Link to this heading"></a></h1>
<ul class="simple">
<li><p><a class="reference internal" href="genindex.html"><span class="std std-ref">Index</span></a></p></li>
<li><p><a class="reference internal" href="py-modindex.html"><span class="std std-ref">Module Index</span></a></p></li>
<li><p><a class="reference internal" href="search.html"><span class="std std-ref">Search Page</span></a></p></li>
</ul>
</section>


Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/searchindex.js

Large diffs are not rendered by default.

25 changes: 20 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,24 @@ We encourage the community to exploit its capabilities!
api.rst


Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
Attribution:
++++++++++++

Please cite `Petrus et al (2023) <https://ui.adsabs.harvard.edu/abs/2023A%26A...670L...9P/abstract>`_.



Version Track:
++++++++++++++

``1.0.13``
First version distributed, presented at `Cloud Academy 3. <https://alienearths.space/cloud-academy-3/>`_.

``1.0.5``
First operational release.


Acknowledgments:
++++++++++++++++
Our sincere thanks to `Code/Astro <https://semaphorep.github.io/codeastro/>`_.
19 changes: 16 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,34 @@
from setuptools import setup
from setuptools import setup, find_packages, Extension
import numpy, sys
import re


with open("README.md", "r") as fh:
long_description = fh.read()


# auto-updating version code stolen from RadVel
def get_property(prop, project):
result = re.search(
r'{}\s*=\s*[\'"]([^\'"]*)[\'"]'.format(prop),
open(project + "/__init__.py").read(),
)
return result.group(1)


def get_requires():
reqs = []
for line in open('requirements.txt', 'r').readlines():
reqs.append(line)
return reqs

setup(name='ForMoSA',
version='2.0.0',
version=get_property("__version__", "exoSpin"),
description='ForMoSA: Forward Modeling Tool for Spectral Analysis',
url='https://github.com/exoAtmospheres/ForMoSA',
author='P. Palma-Bifani, S. Petrus, M. Ravet, A. Denis, M. Bonnefoy, G. Chauvin',
author_email='[email protected]',
license='BSD 2-Clause License',
license='BSD 3-Clause License',
packages=['ForMoSA', 'ForMoSA.adapt', 'ForMoSA.nested_sampling', 'ForMoSA.plotting'],
install_requires=get_requires(),
include_package_data = True,
Expand Down

0 comments on commit 595f054

Please sign in to comment.