Skip to content

Commit 29e4273

Browse files
authored
setup: more info and typo fix via testpypi (#6)
1 parent d64fa9a commit 29e4273

File tree

2 files changed

+21
-10
lines changed

2 files changed

+21
-10
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@
44
*.grb
55
*.nc4
66
*ipynb_checkpoints*
7+
build/
8+
dist/
9+
src/*.egg-info/
710

setup.py

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,31 @@
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
92

103
# always prefer setuptools over distutils
114
from setuptools import setup, find_packages
125

6+
7+
# Grab from README file: long_description
8+
with open("README.md", "r") as f:
9+
long_description = f.read()
10+
11+
1312
setup(
1413
name='pyaps3',
1514
version='0.3.0',
1615
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+
1819
author="Romain Jolivet, Angelique Benoit",
1920
author_email="insar@geologie.ens.fr",
2021

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+
2129
# package discovery
2230
packages=find_packages("src"), # include all packages under src
2331
package_dir={"": "src"}, # tell distutils packages are under src
@@ -35,5 +43,5 @@
3543

3644
# data files
3745
include_package_data=True,
38-
package_data={"pysolid": ["*.cfg"]},
46+
package_data={"pyaps3": ["*.cfg"]},
3947
)

0 commit comments

Comments
 (0)