Metadata-Version: 2.1
Name: Cheb3D
Version: 0.2.4
Summary: fitting function with Chebichev polynomial on spectral grid
Author: Marco Mancini
Author-email: Marco Mancini <marco.mancini@obspm.fr>, Jerome Novak <jerome.novak@astro.unistra.fr>, Eric Gourgoulhon <eric.gourgoulhon@obspm.fr>
Maintainer-email: Marco Mancini <marco.mancini@obspm.fr>
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE.md

# Cheb3D library

## Installation (local)


### Create a virtual environment and source it
```bash
cd ..
python -m virtualenv venv
source venv/bin/activate
pip install cython
```


### Launch the build
```bash
python setup.py build_ext --inplace
```


### Test it
```bash
cp Cheb3D/PyNumSpec.cpython* Test/.
cd Test
python verif.py
```

#### Notes
A try to explain how the library works is given in [Test_explaination.md](Test_explaination.md)


### Intallation (pip)

```bash
pip install Cheb3D
```



# Packaging in PIP:

``` bash
pip install wheel
```

``` bash
python setup.py sdist bdist_wheel
```
This will create two packages in the directory `dist/`:
.A file .tar.gz (source distribution)
.A file .whl (built distribution)

### Chargiing on PyPI

``` bash
pip install twine
```

then

``` bash
twine upload dist/*

```

### Cleaning
You have to put a new value for version in setup.py and pyproject.py
and clean up the build:

``` bash
rm -rf dist build Cheb3D.egg-info
```
