-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pip): migrate to publishing pip package using poetry
- Loading branch information
Showing
4 changed files
with
72 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Publish package to PyPi | ||
|
||
1. Create tag on main branch: | ||
```commandline | ||
git tag <tagname> | ||
``` | ||
2. Push created tag to repository | ||
```commandline | ||
git push origin <tagname> | ||
``` | ||
After this GitHubActions will automatically build pip package and push it to PyPi registry. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,29 @@ | ||
[project] | ||
[tool.poetry] | ||
name = "octreelib" | ||
dynamic = ["dependencies"] | ||
version = "0.0.5" | ||
version = "0.0.0" | ||
description = "Library for representing point clouds as OcTrees in SLAM" | ||
authors = [ | ||
"Kiselyov Mikhail <[email protected]>", | ||
"Pavel Mokeev <[email protected]>" | ||
] | ||
license = "APACHE" | ||
readme = "README.md" | ||
homepage = "https://github.com/prime-slam/" | ||
repository = "https://github.com/prime-slam/octreelib" | ||
classifiers = [ | ||
"License :: OSI Approved :: Apache Software License", | ||
"Intended Audience :: Developers", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
|
||
[tool.setuptools] | ||
include-package-data = false | ||
[tool.poetry.dependencies] | ||
python = "^3.9.0" | ||
numpy = "^1.26.0" | ||
k3d = "^2.16.0" | ||
|
||
[tool.setuptools.dynamic] | ||
dependencies = { file = ["requirements.txt"] } | ||
[tool.poetry.dev-dependencies] | ||
pytest = "^7.4.2" | ||
|
||
[tool.setuptools.packages.find] | ||
exclude = ["test*"] | ||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" |