Skip to content

Commit

Permalink
kbrain -> kos
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed Oct 28, 2024
1 parent c569ecc commit 4fac35d
Show file tree
Hide file tree
Showing 17 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

# We don't need to run on all platforms since this package is
# platform-agnostic. The output wheel is something like
# "kbrain-<version>-py3-none-any.whl".
# "kos-<version>-py3-none-any.whl".
runs-on: ubuntu-latest

steps:
Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[workspace]

members = [
"kbrain/bindings",
"kbrain/rust",
"kos/bindings",
"kos/rust",
]
resolver = "2"

Expand All @@ -12,7 +12,7 @@ version = "0.1.0"
authors = ["Wesley Maa <[email protected]>", "Pawel Budzianowski <[email protected]>", "Benjamin Bolte <[email protected]>"]
edition = "2021"
license = "MIT"
repository = "https://github.com/kscalelabs/kbrain"
description = "The brain for K-Scale's humanoid robots"
repository = "https://github.com/kscalelabs/kos"
description = "The K-Scale Operating System"
documentation = "https://docs.kscale.dev/software/actuators/overview"
readme = "README.md"
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
recursive-include kbrain/ *.py *.txt py.typed MANIFEST.in
recursive-include kos/ *.py *.txt py.typed MANIFEST.in
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Makefile

define HELP_MESSAGE
k-brain
kos

# Installing

1. Create a new Conda environment: `conda create --name k-brain python=3.11`
2. Activate the environment: `conda activate k-brain`
1. Create a new Conda environment: `conda create --name kos python=3.11`
2. Activate the environment: `conda activate kos`
3. Install the package: `make install-dev`

# Running Tests
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# k-brain
# kOS

Welcome to the k-brain project!
Welcome to the K-Scale Operating System!
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"

[tool.ruff.lint.isort]

known-first-party = ["kbrain", "tests"]
known-first-party = ["kos", "tests"]
combine-as-imports = true

[tool.ruff.lint.pydocstyle]
Expand Down
20 changes: 10 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
long_description: str = f.read()


with open("kbrain/requirements.txt", "r", encoding="utf-8") as f:
with open("kos/requirements.txt", "r", encoding="utf-8") as f:
requirements: list[str] = f.read().splitlines()


with open("kbrain/requirements-dev.txt", "r", encoding="utf-8") as f:
with open("kos/requirements-dev.txt", "r", encoding="utf-8") as f:
requirements_dev: list[str] = f.read().splitlines()


with open("kbrain/__init__.py", "r", encoding="utf-8") as fh:
with open("kos/__init__.py", "r", encoding="utf-8") as fh:
version_re = re.search(r"^__version__ = \"([^\"]*)\"", fh.read(), re.MULTILINE)
assert version_re is not None, "Could not find version in kbrain/__init__.py"
assert version_re is not None, "Could not find version in kos/__init__.py"
version: str = version_re.group(1)


Expand All @@ -36,15 +36,15 @@ def run(self) -> None:


setup(
name="k-brain",
name="kos",
version=version,
description="The k-brain project",
description="The K-Scale Operating System",
author="Benjamin Bolte",
url="https://github.com/kscalelabs/kbrain",
url="https://github.com/kscalelabs/kos",
rust_extensions=[
RustExtension(
target="actuator.bindings",
path="actuator/bindings/Cargo.toml",
target="kos.bindings",
path="kos/bindings/Cargo.toml",
binding=Binding.PyO3,
),
],
Expand All @@ -55,6 +55,6 @@ def run(self) -> None:
install_requires=requirements,
tests_require=requirements_dev,
extras_require={"dev": requirements_dev},
packages=find_packages(include=["actuator"]),
packages=find_packages(include=["kos"]),
cmdclass={"build_ext": RustBuildExt},
)

0 comments on commit 4fac35d

Please sign in to comment.