Skip to content

Commit 261736a

Browse files
authored
Merge pull request #11 from GeoStat-Framework/update_packaging
Update packaging
2 parents d33890d + 1308726 commit 261736a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+460
-375
lines changed

.git_archival.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node: $Format:%H$
2+
node-date: $Format:%cI$
3+
describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$
4+
ref-names: $Format:%D$

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.git_archival.txt export-subst

.github/workflows/main.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,27 @@ jobs:
2626
steps:
2727
- uses: actions/checkout@v2
2828

29-
- name: Set up Python 3.8
29+
- name: Set up Python 3.9
3030
uses: actions/setup-python@v2
3131
with:
32-
python-version: 3.8
32+
python-version: 3.9
3333

3434
- name: Install dependencies
3535
run: |
3636
python -m pip install --upgrade pip
37-
pip install black #pylint
38-
pip install --editable .
37+
pip install --editable .[check]
38+
3939
- name: black check
4040
run: |
41-
python -m black --check .
42-
# - name: pylint check
43-
# run: |
44-
# python -m pylint anaflow/
41+
python -m black --check --diff --color .
42+
43+
- name: isort check
44+
run: |
45+
python -m isort --check --diff --color .
46+
47+
- name: pylint check
48+
run: |
49+
python -m pylint src/anaflow/
4550
4651
build_sdist:
4752
name: sdist on ${{ matrix.os }} with py ${{ matrix.python-version }}
@@ -50,7 +55,7 @@ jobs:
5055
fail-fast: false
5156
matrix:
5257
os: [ubuntu-latest, windows-latest, macos-latest]
53-
python-version: [3.6, 3.7, 3.8, 3.9]
58+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
5459

5560
steps:
5661
- uses: actions/checkout@v2

.gitignore

Lines changed: 119 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,121 @@
1-
*.pyc
2-
*.orig
3-
*~
4-
.spyproject/
1+
# Byte-compiled / optimized / DLL files
52
__pycache__/
6-
docs/build/
7-
docs/source/generated/
8-
docs/source/examples/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
28+
# PyInstaller
29+
# Usually these files are written by a python script from a template
30+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
31+
*.manifest
32+
*.spec
33+
34+
# Installer logs
35+
pip-log.txt
36+
pip-delete-this-directory.txt
37+
38+
# Unit test / coverage reports
39+
htmlcov/
40+
.tox/
41+
.coverage
42+
.coverage.*
43+
.cache
44+
nosetests.xml
45+
coverage.xml
46+
*.cover
47+
.hypothesis/
48+
49+
# Translations
50+
*.mo
51+
*.pot
52+
53+
# Django stuff:
54+
*.log
55+
local_settings.py
56+
57+
# Flask stuff:
58+
instance/
59+
.webassets-cache
60+
61+
# Scrapy stuff:
62+
.scrapy
63+
64+
# Sphinx documentation
65+
docs/_build/
66+
67+
# PyBuilder
68+
target/
69+
70+
# Jupyter Notebook
71+
.ipynb_checkpoints
72+
73+
# pyenv
74+
.python-version
75+
76+
# celery beat schedule file
77+
celerybeat-schedule
78+
79+
# SageMath parsed files
80+
*.sage.py
81+
82+
# dotenv
83+
.env
84+
85+
# virtualenv
86+
.venv
87+
venv/
88+
ENV/
89+
90+
# IDE project settings
91+
.spyderproject
92+
.spyproject
93+
.vscode
94+
95+
# Rope project settings
96+
.ropeproject
97+
98+
# mkdocs documentation
99+
/site
100+
101+
# mypy
102+
.mypy_cache/
103+
104+
tags
105+
/test_*
106+
107+
# own stuff
9108
info/
10-
#_build
11-
#_static
12-
#_templates
13-
#docs/
109+
110+
# Cython generated C code
111+
*.c
112+
113+
# JOSS stuff
114+
paper/compile
115+
116+
# setuptools_scm generated version files
117+
src/anaflow/_version.py
118+
119+
# generated docs
120+
docs/source/examples/
121+
docs/source/api/

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
All notable changes to **AnaFlow** will be documented in this file.
44

55

6+
## [1.1.0] - 2023-04
7+
8+
See [#11](https://github.com/GeoStat-Framework/AnaFlow/pull/11)
9+
10+
### Enhancements
11+
- move to `src/` base package structure
12+
- drop py36 support
13+
- added archive support
14+
- simplify documentation
15+
16+
617
## [1.0.1] - 2020-04-02
718

819
### Bugfixes
@@ -77,6 +88,7 @@ Containing:
7788
- lap_transgwflow_cyl - Solution for a diskmodel in laplace inversion
7889

7990

91+
[1.0.1]: https://github.com/GeoStat-Framework/AnaFlow/compare/v1.0.1...v1.1.0
8092
[1.0.1]: https://github.com/GeoStat-Framework/AnaFlow/compare/v1.0.0...v1.0.1
8193
[1.0.0]: https://github.com/GeoStat-Framework/AnaFlow/compare/v0.4.0...v1.0.0
8294
[0.4.0]: https://github.com/GeoStat-Framework/AnaFlow/compare/v0.3.0...v0.4.0

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2019 - 2021 Sebastian Mueller
3+
Copyright (c) 2019 - 2023 Sebastian Mueller
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

MANIFEST.in

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
prune *
2-
graft anaflow
3-
graft tests
4-
5-
include LICENSE README.md pyproject.toml setup.cfg
6-
global-exclude __pycache__ *.py[cod] .*
1+
prune **
2+
recursive-include tests *.py
3+
recursive-include src/anaflow *.py
4+
include LICENSE README.md pyproject.toml

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ You can contact us via <info@geostat-framework.org>.
100100

101101
## License
102102

103-
[MIT][mit_link] © 2019 - 2021
103+
[MIT][mit_link] © 2019 - 2023
104104

105105
[mit_link]: https://github.com/GeoStat-Framework/AnaFlow/blob/main/LICENSE
106106
[doc_link]: https://anaflow.readthedocs.io

docs/source/_static/custom.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dl.py.property {
2+
display: block !important;
3+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{{ fullname | escape | underline}}
2+
3+
.. currentmodule:: {{ module }}
4+
5+
.. autoclass:: {{ objname }}
6+
:members:
7+
:undoc-members:
8+
:inherited-members:
9+
:show-inheritance:
10+
11+
.. raw:: latex
12+
13+
\clearpage

0 commit comments

Comments
 (0)