Skip to content

Commit f1ba6da

Browse files
committed
added new pypi workflow, added readthedocs.yaml, temporarily switched off old pypi routing
1 parent 7197c37 commit f1ba6da

4 files changed

Lines changed: 30 additions & 9 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
22

3-
on: push
3+
on: workflow_dispatch
44

55
jobs:
66
build:
@@ -114,4 +114,4 @@ jobs:
114114
- name: Publish distribution 📦 to TestPyPI
115115
uses: pypa/gh-action-pypi-publish@release/v1
116116
with:
117-
repository-url: https://test.pypi.org/legacy/
117+
repository-url: https://test.pypi.org/legacy/

.readthedocs.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the OS, Python version and other tools you might need
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
python: "3.10"
13+
14+
# Build documentation in the "docs/" directory with Sphinx
15+
sphinx:
16+
configuration: docs/conf.py
17+
18+
python:
19+
install:
20+
- method: pip
21+
path: .
22+
extra_requirements:
23+
- docs

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ With conda installed, open your terminal and create a new environment by executi
2222

2323
## PyPI
2424

25-
Currently, morphomapping is in beta phase. There will be a pypi release available in the future:
25+
Install morphomapping via the pypi release:
2626

2727
pip install morphomapping
2828

pyproject.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "morphomapping"
7-
version = "0.0.2"
7+
version = "0.0.6"
88
authors = [
99
{ name="Amelie Bauerdick", email="Amelie.Bauerdick@stud.uni-heidelberg.de" },
1010
]
@@ -52,11 +52,9 @@ exclude = [
5252
"_resources/**"
5353
]
5454

55-
[tool.hatch.build.targets.wheel]
56-
packages = ["morphomapping/morphomapping"]
57-
exclude = ["_resources/raw_data/*"]
58-
59-
55+
# [tool.hatch.build.targets.wheel]
56+
# packages = ["morphomapping/morphomapping"]
57+
# exclude = ["_resources/raw_data/*"]
6058

6159
[project.urls]
6260
"Homepage" = "http://github.com/Wguido/MorphoMapping/"

0 commit comments

Comments
 (0)