diff --git a/.gitignore b/.gitignore index c08030f..df3ec97 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,7 @@ *.grb *.nc4 *ipynb_checkpoints* +build/ +dist/ +src/*.egg-info/ diff --git a/setup.py b/setup.py index 906fb91..6108dd9 100644 --- a/setup.py +++ b/setup.py @@ -1,23 +1,31 @@ -############################################################ -# Program is part of PyAPS # -# Copyright 2012, by the California Institute of Technology# -# Contact: earthdef@gps.caltech.edu # -# Modified by A. Benoit and R. Jolivet 2019 # -# Ecole Normale Superieure, Paris # -# Contact: insar@geologie.ens.fr # -############################################################ +# Author: Zhang Yunjun, Panji Brotoisworo, Jan 2021 # always prefer setuptools over distutils from setuptools import setup, find_packages + +# Grab from README file: long_description +with open("README.md", "r") as f: + long_description = f.read() + + setup( name='pyaps3', version='0.3.0', description="Python based Atmospheric Phase Screen Estimation", - url="https://github.com/insarlab/pyaps3", + long_description=long_description, + long_description_content_type="text/markdown", + author="Romain Jolivet, Angelique Benoit", author_email="insar@geologie.ens.fr", + url="https://github.com/insarlab/PyAPS", + project_urls={ + "Bug Reports": "https://github.com/insarlab/PyAPS/issues", + "Documentation": "https://github.com/insarlab/PyAPS/tree/main/docs", + "Source": "https://github.com/insarlab/PyAPS", + }, + # package discovery packages=find_packages("src"), # include all packages under src package_dir={"": "src"}, # tell distutils packages are under src @@ -35,5 +43,5 @@ # data files include_package_data=True, - package_data={"pysolid": ["*.cfg"]}, + package_data={"pyaps3": ["*.cfg"]}, )