Skip to content

Commit

Permalink
Create pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
joajfreitas committed Aug 21, 2024
1 parent 8943259 commit a025f15
Show file tree
Hide file tree
Showing 35 changed files with 24 additions and 2 deletions.
1 change: 0 additions & 1 deletion fcp/version.py

This file was deleted.

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 hooks/check_release_notes
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import sys
import os

def main(args):
with open("fcp/version.py") as f:
with open("src/fcp/version.py") as f:
txt = f.read()
version = txt.split("=")[1].strip()
version = "v"+version[1:-1]+".md"
Expand Down
22 changes: 22 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[project]
name = "fcp"
version = "1.0.0"
description = "CAN bus manager"
license = {file = "LICENSE.txt"}
readme = "README.md"
url = "https://github.com/joajfreitas/fcp-core"
requires-python = ">=3.12"
dependencies = [
"click",
"lark",
"coloredlogs",
"serde",
"termcolor"
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project.scripts]
fcp = "fcp.__main__:main"
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.
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.
File renamed without changes.
1 change: 1 addition & 0 deletions src/fcp/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VERSION = "1.0.0"
File renamed without changes.

0 comments on commit a025f15

Please sign in to comment.