Skip to content

Commit 1cb965b

Browse files
Add all
1 parent 8ef784e commit 1cb965b

File tree

7 files changed

+530
-0
lines changed

7 files changed

+530
-0
lines changed

.github/workflows/CD.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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: Upload
18+
run: |
19+
python3 -m pip install twine
20+
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>

pyproject.toml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
5+
6+
[project]
7+
name = "OpenGeodeWeb-Viewer"
8+
version = "0.0.1"
9+
authors = [
10+
{ name="Geode-solutions", email="[email protected]" },
11+
]
12+
description = "OpenGeodeWeb-Viewer is an open source framework that proposes handy python functions and wrappers for vtk"
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+
"wslink[ssl]",
22+
"numpy",
23+
"vtk"
24+
]
25+
26+
[project.urls]
27+
"Homepage" = "https://github.com/Geode-solutions/OpenGeodeWeb-Viewer"
28+
"Bug Tracker" = "https://github.com/Geode-solutions/OpenGeodeWeb-Viewer/issues"
29+
30+
[tool.setuptools.packages.find]
31+
where = ["src"]
32+
namespaces = false
33+
34+
[tool.setuptools.dynamic]
35+
dependencies = {file = ["requirements.txt"]}
36+
37+
[tool.semantic_release.branches.master]
38+
version_variable = "pyproject.toml:version"
39+
version_source = "commit"
40+
prerelease = false
41+
42+
[tool.semantic_release.branches.next]
43+
version_variable = "pyproject.toml:version"
44+
version_source = "commit"
45+
prerelease_tag = "rc"
46+
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

0 commit comments

Comments
 (0)