Skip to content

Commit a284313

Browse files
committed
Rename most of the project to semiwrap
- Switch to src layout - Docs not updated - internals not fully updated
1 parent 9e29f40 commit a284313

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+28
-31
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ __pycache__
77
/dist
88
/build
99

10-
/robotpy_build/version.py
10+
/src/semiwrap/version.py

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "robotpy_build/pybind11"]
2-
path = robotpy_build/pybind11
1+
[submodule "src/semiwrap/pybind11"]
2+
path = src/semiwrap/pybind11
33
url = https://github.com/pybind/pybind11.git

MANIFEST.in

Lines changed: 0 additions & 2 deletions
This file was deleted.

README.md

Lines changed: 7 additions & 5 deletions

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
os.environ["GENERATING_DOCUMENTATION"] = "True"
1717

18-
__version__ = pkg_resources.get_distribution("robotpy-build").version
18+
__version__ = pkg_resources.get_distribution("semiwrap").version
1919

2020

2121
# -- RTD configuration ------------------------------------------------
@@ -25,7 +25,7 @@
2525

2626
# -- Project information -----------------------------------------------------
2727

28-
project = "robotpy-build"
28+
project = "semiwrap"
2929
copyright = "2020, RobotPy Development Team"
3030
author = "RobotPy Development Team"
3131

pyproject.toml

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ requires = ["hatchling>=1.26.2", "hatch-vcs"]
33
build-backend = "hatchling.build"
44

55
[project]
6-
name = "robotpy-build"
6+
name = "semiwrap"
77
dynamic = ["version"]
8-
description = "Build tool for RobotPy projects"
8+
description = "Semi-automated tool to wrap C++ code for use by python"
99
readme = "README.md"
1010
requires-python = ">=3.8"
1111
license = "BSD-3-Clause"
12-
license-files = ["LICENSE.txt", "robotpy_build/pybind11/LICENSE"]
12+
license-files = ["LICENSE.txt", "src/semiwrap/pybind11/LICENSE"]
1313
authors = [
1414
{name = "Dustin Spicuzza", email = "[email protected]"},
1515
]
@@ -41,39 +41,36 @@ dependencies = [
4141
"distro; platform_system == 'Linux'",
4242
]
4343

44-
[project.entry-points.robotpybuild]
45-
robotpy-build = "robotpy_build.pkgcfg"
46-
4744
[project.scripts]
48-
robotpy-build = "robotpy_build.tool:main"
45+
semiwrap = "semiwrap.tool:main"
4946

5047
[project.urls]
51-
"Source code" = "https://github.com/robotpy/robotpy-build"
48+
"Source code" = "https://github.com/robotpy/semiwrap"
5249

5350
[tool.hatch.version]
5451
source = "vcs"
5552

5653
[tool.hatch.build.hooks.vcs]
57-
version-file = "robotpy_build/version.py"
54+
version-file = "src/semiwrap/version.py"
5855

5956
[tool.hatch.build.targets.sdist]
60-
packages = ["robotpy_build"]
57+
packages = ["src/semiwrap"]
6158
exclude = [
62-
"/robotpy_build/pybind11"
59+
"/src/semiwrap/pybind11"
6360
]
6461
[tool.hatch.build.targets.sdist.force-include]
65-
"./robotpy_build/pybind11/include" = "./robotpy_build/pybind11/include"
62+
"./src/semiwrap/pybind11/include" = "./semiwrap/pybind11/include"
6663

6764
[tool.hatch.build.targets.wheel]
68-
packages = ["robotpy_build"]
65+
packages = ["semiwrap"]
6966
include = [
70-
"/robotpy_build/pybind11/include",
71-
"/robotpy_build/include",
67+
"/semiwrap/pybind11/include",
68+
"/semiwrap/include",
7269
]
7370

7471

7572
[tool.black]
7673
target-version = ["py38"]
7774
extend-exclude = '''
78-
^/robotpy_build/pybind11
75+
^/src/semiwrap/pybind11
7976
'''
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)