Skip to content

Commit 33cd5a7

Browse files
committed
[chore] rye init
1 parent 3b67b14 commit 33cd5a7

File tree

4 files changed

+39
-0
lines changed

4 files changed

+39
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# python generated files
2+
__pycache__/
3+
*.py[oc]
4+
build/
5+
dist/
6+
wheels/
7+
*.egg-info
8+
9+
# venv
10+
.venv
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# rye-example
2+
3+
Describe your project here.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[project]
2+
name = "rye-example"
3+
version = "0.1.0"
4+
description = "Add your description here"
5+
authors = [
6+
{ name = "ftnext", email = "[email protected]" }
7+
]
8+
dependencies = []
9+
readme = "README.md"
10+
requires-python = ">= 3.12"
11+
12+
[build-system]
13+
requires = ["hatchling"]
14+
build-backend = "hatchling.build"
15+
16+
[tool.rye]
17+
managed = true
18+
dev-dependencies = []
19+
20+
[tool.hatch.metadata]
21+
allow-direct-references = true
22+
23+
[tool.hatch.build.targets.wheel]
24+
packages = ["src/rye_example"]
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
def hello() -> str:
2+
return "Hello from rye-example!"

0 commit comments

Comments
 (0)