Skip to content

Commit

Permalink
feat: Add 'pen' script to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
arkohut committed Feb 5, 2025
1 parent 0ecb91e commit b9df9bd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion create_pensiev_toml.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ def create_pensiev_toml():

# Modify the project name and script name
data['project']['name'] = 'pensiev'
data['project']['scripts'] = {'pen': 'memos.commands:app'}

# Write the modified data to the new file
with open('pyproject_pensiev.toml', 'wb') as f:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Homepage = "https://github.com/arkohut/pensieve"

[project.scripts]
memos = "memos.commands:app"
pen = "memos.commands:app"

[tool.setuptools.packages.find]
include = ["memos*"]
Expand Down

0 comments on commit b9df9bd

Please sign in to comment.