Skip to content

Commit bf82296

Browse files
authored
Merge pull request #1 from Geode-solutions/next
Next
2 parents 63e9bfa + b8751ab commit bf82296

File tree

12 files changed

+1262
-2
lines changed

12 files changed

+1262
-2
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Check branch origin
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
check-branch-protection:
8+
uses: Geode-solutions/actions/.github/workflows/branch-protection.yml@master
9+
with:
10+
branch_from: 'next'
11+
branch_to: 'master'

.github/workflows/CD.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CD
2+
3+
on:
4+
push:
5+
branches: [ master, next ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v3
13+
- name: Build
14+
run: |
15+
python3 -m pip install --upgrade build
16+
python3 -m build
17+
# - name: Python Semantic Release
18+
# uses: python-semantic-release/python-semantic-release@master
19+
# with:
20+
# github_token: ${{ secrets.GITHUB_TOKEN }}
21+
- name: Upload
22+
run: |
23+
python3 -m pip install twine
24+
python3 -m twine upload --repository pypi dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.pytest_cache
2+
dist

.pypirc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[distutils]
2+
index-servers = pypi
3+
4+
[pypi]
5+
username = __token__
6+
password = <PyPI token>

README.md

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,33 @@
1-
# OpenGeodeWeb-Back
2-
OpenSource Python framework for web microservices
1+
2+
<h1 align="center">OpenGeodeWeb-Back<sup><i>by Geode-solutions</i></sup></h1>
3+
<h3 align="center">OpenSource Python framework based on OpenGeode</h3>
4+
5+
<p align="center">
6+
<img src="https://github.com/Geode-solutions/OpenGeodeWeb-Back/workflows/CI/badge.svg" alt="Build Status">
7+
<img src="https://github.com/Geode-solutions/OpenGeodeWeb-Back/workflows/CD/badge.svg" alt="Deploy Status">
8+
<img src="https://codecov.io/gh/Geode-solutions/OpenGeodeWeb-Back/branch/master/graph/badge.svg" alt="Coverage Status">
9+
<img src="https://img.shields.io/github/release/Geode-solutions/OpenGeodeWeb-Back.svg" alt="Version">
10+
<img src="https://img.shields.io/pypi/v/opengeode-core" alt="PyPI" >
11+
</p>
12+
13+
<p align="center">
14+
<img src="https://img.shields.io/badge/Python-3-blue.svg" alt="Language">
15+
<img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License">
16+
<img src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg" alt="Semantic-release">
17+
</p>
18+
19+
---
20+
21+
## Introduction
22+
23+
OpenGeodeWeb-Back is an open source framework that proposes handy python functions and wrappers for the OpenGeode ecosystem
24+
25+
26+
## Changelog
27+
Detailed changes for each release are documented in the [release notes](https://github.com/Geode-solutions/OpenGeodeWeb-Back/releases).
28+
29+
30+
## License
31+
[MIT](https://opensource.org/licenses/MIT)
32+
33+
Copyright (c) 2019 - 2023, Geode-solutions

pyproject.toml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
5+
6+
[project]
7+
name = "OpenGeodeWeb-Back"
8+
version = "0.0.16"
9+
authors = [
10+
{ name="Geode-solutions", email="[email protected]" },
11+
]
12+
description = "OpenGeodeWeb-Back is an open source framework that proposes handy python functions and wrappers for the OpenGeode ecosystem"
13+
readme = "README.md"
14+
requires-python = ">=3.8"
15+
classifiers = [
16+
"Programming Language :: Python :: 3",
17+
"License :: OSI Approved :: MIT License",
18+
"Operating System :: OS Independent",
19+
]
20+
dependencies = [
21+
"geode-viewables>=2.0.3",
22+
"opengeode-core>=14.4.1",
23+
"opengeode-geosciences>=7.1.1",
24+
"opengeode-geosciencesio>=4.1.6",
25+
"opengeode-inspector>=3.0.7",
26+
"opengeode-io>=6.0.10",
27+
]
28+
29+
[project.urls]
30+
"Homepage" = "https://github.com/Geode-solutions/OpenGeodeWeb-Back"
31+
"Bug Tracker" = "https://github.com/Geode-solutions/OpenGeodeWeb-Back/issues"
32+
33+
[tool.setuptools.packages.find]
34+
where = ["src"]
35+
namespaces = false
36+
37+
[tool.setuptools.dynamic]
38+
dependencies = {file = ["requirements.txt"]}
39+
40+
[tool.semantic_release]
41+
version_variable = "pyproject.toml:version"
42+
43+
[tool.semantic_release.branches.master]
44+
match = "master"
45+
46+
[tool.semantic_release.branches.next]
47+
match = "next"
48+
prerelease_tag = "rc"
49+
prerelease = true

requirements.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
OpenGeode-core
2+
OpenGeode-IO
3+
OpenGeode-Inspector
4+
OpenGeode-Geosciences
5+
OpenGeode-GeosciencesIO
6+
Geode-Viewables

requirements.txt

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.9
3+
# by the following command:
4+
#
5+
# pip-compile --resolver=backtracking requirements.in
6+
#
7+
geode-common==26.1.5
8+
# via geode-viewables
9+
geode-viewables==2.0.3
10+
# via -r requirements.in
11+
opengeode-core==14.4.5
12+
# via
13+
# -r requirements.in
14+
# geode-common
15+
# geode-viewables
16+
# opengeode-geosciences
17+
# opengeode-geosciencesio
18+
# opengeode-inspector
19+
# opengeode-io
20+
opengeode-geosciences==7.1.4
21+
# via
22+
# -r requirements.in
23+
# geode-viewables
24+
# opengeode-geosciencesio
25+
# opengeode-inspector
26+
opengeode-geosciencesio==4.2.1
27+
# via
28+
# -r requirements.in
29+
# opengeode-inspector
30+
opengeode-inspector==3.0.8
31+
# via -r requirements.in
32+
opengeode-io==6.0.10
33+
# via
34+
# -r requirements.in
35+
# geode-viewables
36+
# opengeode-inspector

src/opengeodeweb_back/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)