|
1 |
| -############################################################ |
2 |
| -# Program is part of PyAPS # |
3 |
| -# Copyright 2012, by the California Institute of Technology# |
4 |
| -# Contact: earthdef@gps.caltech.edu # |
5 |
| -# Modified by A. Benoit and R. Jolivet 2019 # |
6 |
| -# Ecole Normale Superieure, Paris # |
7 |
| -# Contact: insar@geologie.ens.fr # |
8 |
| -############################################################ |
| 1 | +# Author: Zhang Yunjun, Panji Brotoisworo, Jan 2021 |
9 | 2 |
|
10 | 3 | # always prefer setuptools over distutils
|
11 | 4 | from setuptools import setup, find_packages
|
12 | 5 |
|
| 6 | + |
| 7 | +# Grab from README file: long_description |
| 8 | +with open("README.md", "r") as f: |
| 9 | + long_description = f.read() |
| 10 | + |
| 11 | + |
13 | 12 | setup(
|
14 | 13 | name='pyaps3',
|
15 | 14 | version='0.3.0',
|
16 | 15 | description="Python based Atmospheric Phase Screen Estimation",
|
17 |
| - url="https://github.com/insarlab/pyaps3", |
| 16 | + long_description=long_description, |
| 17 | + long_description_content_type="text/markdown", |
| 18 | + |
18 | 19 | author="Romain Jolivet, Angelique Benoit",
|
19 | 20 | author_email="insar@geologie.ens.fr",
|
20 | 21 |
|
| 22 | + url="https://github.com/insarlab/PyAPS", |
| 23 | + project_urls={ |
| 24 | + "Bug Reports": "https://github.com/insarlab/PyAPS/issues", |
| 25 | + "Documentation": "https://github.com/insarlab/PyAPS/tree/main/docs", |
| 26 | + "Source": "https://github.com/insarlab/PyAPS", |
| 27 | + }, |
| 28 | + |
21 | 29 | # package discovery
|
22 | 30 | packages=find_packages("src"), # include all packages under src
|
23 | 31 | package_dir={"": "src"}, # tell distutils packages are under src
|
|
35 | 43 |
|
36 | 44 | # data files
|
37 | 45 | include_package_data=True,
|
38 |
| - package_data={"pysolid": ["*.cfg"]}, |
| 46 | + package_data={"pyaps3": ["*.cfg"]}, |
39 | 47 | )
|
0 commit comments