diff --git a/README.md b/README.md index ef090179..68c2daea 100644 --- a/README.md +++ b/README.md @@ -81,39 +81,3 @@ To uninstall the pipeline: python pip_sn_pack.py --action uninstall --package=al ## - \ No newline at end of file diff --git a/__init__.py b/__init__.py index aed115e2..58f3ace6 100644 --- a/__init__.py +++ b/__init__.py @@ -1 +1 @@ -__version__='v1.0.0' +from .version import __version__ diff --git a/docs/Gen/sn_pipe.md b/docs/Gen/sn_pipe.md index bf0d72e6..2fd8222c 100644 --- a/docs/Gen/sn_pipe.md +++ b/docs/Gen/sn_pipe.md @@ -1,7 +1,8 @@ # sn_pipe -. + * docs: sn_pipe doc * [for_batch](for_batch.md): set of scripts and input file to run the pipeline in batch mode + * \_\_init.py\_\_ * input: set of input files * LICENCE: licence file * notebooks: set of notebooks to run the pipeline @@ -16,3 +17,4 @@ * setup_release.sh: setup file to setup lsst_sims release ([usage](usage_setup_release.md)) * README.md: README file * docs: sn_pipe doc + * version.py: package version \ No newline at end of file diff --git a/docs/Gen/sn_pipe_fulltree.md b/docs/Gen/sn_pipe_fulltree.md index fefe88c0..8ef65c2f 100644 --- a/docs/Gen/sn_pipe_fulltree.md +++ b/docs/Gen/sn_pipe_fulltree.md @@ -102,6 +102,7 @@ | |-- templates | |-- Fake_cadence_template.yaml | |-- param_fakesimulation_template.yaml +|-- \_\_init.py\_\_ |-- LICENCE |-- notebooks | |-- SNCadence.ipynb @@ -189,5 +190,5 @@ | |-- run_visu_cadence.py |-- setup.py |-- setup_release.sh - +|-- version.py ``` diff --git a/setup.py b/setup.py index 017dd466..c04b3714 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ def run(self): setup( name='sn_pipe', - version=__version__, + version='v1.0.0', description='A framework to run the Survey Strategy Support pipeline for supernovae', url='http://github.com/lsstdesc/sn_pipe', author='Philippe Gris', diff --git a/version.py b/version.py new file mode 100644 index 00000000..aed115e2 --- /dev/null +++ b/version.py @@ -0,0 +1 @@ +__version__='v1.0.0'