Skip to content

Commit ac728ac

Browse files
authored
Rebranding (2) (#2)
Prepare for initial release
1 parent 1e51b87 commit ac728ac

6 files changed

Lines changed: 41 additions & 4 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
.ipynb_checkpoints
1010
*/.ipynb_checkpoints/*
11+
.virtual_documents
12+
*/.virtual_documents/*
1113

1214
# IPython
1315
profile_default/

Makefile

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
DOCKER_BASE_IMAGE := "hapsira:dev"
22
DOCKER_CONTAINER_NAME := "hapsira-dev"
33

4+
_clean_coverage:
5+
coverage erase
6+
7+
_clean_py:
8+
find src/ tests/ contrib/ -name '*.pyc' -exec rm -f {} +
9+
find src/ tests/ contrib/ -name '*.pyo' -exec rm -f {} +
10+
find src/ tests/ contrib/ -name '*~' -exec rm -f {} +
11+
find src/ tests/ contrib/ -name '__pycache__' -exec rm -fr {} +
12+
13+
_clean_release:
14+
-rm -r build/*
15+
-rm -r dist/*
16+
17+
clean:
18+
make _clean_release
19+
make _clean_coverage
20+
make _clean_py
21+
422
docs:
523
tox -e docs
624

@@ -19,4 +37,15 @@ docker:
1937
${DOCKER_BASE_IMAGE} \
2038
bash
2139

22-
.PHONY: docs docker image
40+
release:
41+
make clean
42+
flit build
43+
gpg --detach-sign -a dist/hapsira*.whl
44+
gpg --detach-sign -a dist/hapsira*.tar.gz
45+
46+
upload:
47+
for filename in $$(ls dist/*.tar.gz dist/*.whl) ; do \
48+
twine upload $$filename $$filename.asc ; \
49+
done
50+
51+
.PHONY: docs docker image release upload

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ For other installation methods, see the [alternative installation methods](https
4141

4242
## Migrating from `poliastro` to `hapsira`
4343

44-
Currently, both packages are near-identical and should therefore be fully compatible. Potentially breaking changes will be added here and in the documentation.
44+
`hapsira` is based on `poliastro main` as of the date of its archival, October 14 2023, [commit 1b01768c](https://github.com/poliastro/poliastro/commit/21fd7719e89a7d22b4eac63141a60a7f1b01768c). Therefore, `hapsira`'s initial release already includes a number of changes made since `poliastro`'s last release, `0.17.0`. Most notably, the plotter framework saw a redesign and is backwards incompatible, see [poliastro #1545](https://github.com/poliastro/poliastro/pull/1545). For further details, see [changelog](https://github.com/pleiszenburg/hapsira/blob/main/docs/source/changelog.md).
4545

4646

4747
## Documentation

docs/source/changelog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# What's new
22

3-
## hapsira 0.18.0 - 2023-12-XX
3+
## hapsira 0.18.0 - 2023-12-21
4+
5+
**CAUTION**: A number changes at least partially **BREAK BACKWARDS COMPATIBILITY** for certain use cases.
46

57
This release is a rebranded, but virtually identical fork of `poliastro`, `main` branch, as of the date of it being archived, October 14 2023. All noteworthy changes listed here were merged into `poliastro` after its last official release, `0.17.0`.
68

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ Changelog = "https://hapsira.readthedocs.io/en/stable/changelog.html"
6969
[project.optional-dependencies]
7070
jupyter = ["notebook", "ipywidgets>=7.6"]
7171
cesium = ["czml3 ~=0.5.3"]
72+
dev = [
73+
"flit",
74+
"wheel",
75+
]
7276
doc = [
7377
"httpx",
7478
"ipython", # >=5.0",

src/hapsira/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Utilities and Python wrappers for Orbital Mechanics."""
22

3-
__version__ = "0.18.dev0"
3+
__version__ = "0.18.0"

0 commit comments

Comments
 (0)