-
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.
Get set up for an incremental Zig port since python is dog (#126)
- Loading branch information
Showing
65 changed files
with
318 additions
and
67 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 |
---|---|---|
@@ -1,9 +1,20 @@ | ||
# Testing | ||
db.sqlite3 | ||
|
||
# Nix | ||
result | ||
# Python | ||
.direnv | ||
__pycache__ | ||
.ruff_cache | ||
.mypy_cache | ||
.coverage | ||
.coverage.* | ||
result | ||
db.sqlite3 | ||
htmlcov | ||
*.egg-info | ||
|
||
# Zig | ||
*.so | ||
*.so.o | ||
zig-cache | ||
zig-out |
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
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
File renamed without changes.
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,20 @@ | ||
{ python-pin | ||
, version | ||
, py-deps | ||
, rose-py | ||
, rose-vfs | ||
, rose-watchdog | ||
}: | ||
|
||
python-pin.pkgs.buildPythonPackage { | ||
pname = "rose-cli"; | ||
version = version; | ||
src = ./.; | ||
propagatedBuildInputs = [ | ||
rose-py | ||
rose-vfs | ||
rose-watchdog | ||
py-deps.click | ||
]; | ||
doCheck = false; | ||
} |
File renamed without changes.
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
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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,5 +1,4 @@ | ||
import click | ||
|
||
from rose import ( | ||
Config, | ||
PathTemplate, | ||
|
2 changes: 1 addition & 1 deletion
2
rose_cli/templates_test.py → rose-cli/rose_cli/templates_test.py
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,21 @@ | ||
import setuptools | ||
|
||
with open(".version") as f: | ||
version = f.read().strip() | ||
|
||
setuptools.setup( | ||
name="rose-cli", | ||
version=version, | ||
python_requires=">=3.11.0", | ||
author="blissful", | ||
author_email="blissful@sunsetglow.net", | ||
license="Apache-2.0", | ||
entry_points={"console_scripts": ["rose = rose_cli.__main__:main"]}, | ||
packages=["rose_cli"], | ||
install_requires=[ | ||
"click", | ||
"rose", | ||
"rose-vfs", | ||
"rose-watchdog", | ||
], | ||
) |
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,23 @@ | ||
{ python-pin | ||
, version | ||
, py-deps | ||
, rose-zig | ||
}: | ||
|
||
python-pin.pkgs.buildPythonPackage { | ||
pname = "rose"; | ||
version = version; | ||
src = ./.; | ||
propagatedBuildInputs = [ | ||
rose-zig | ||
py-deps.appdirs | ||
py-deps.click | ||
py-deps.jinja2 | ||
py-deps.mutagen | ||
py-deps.send2trash | ||
py-deps.tomli-w | ||
py-deps.uuid6 | ||
]; | ||
doCheck = false; | ||
ROSE_SO_PATH = "${rose-zig}/lib/librose.so"; | ||
} |
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 @@ | ||
0.5.0 |
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.
File renamed without changes.
Oops, something went wrong.