-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: use hatch for build and ruff for linting (#81)
* build: use hatch and ruff * fix: fix linting * test: remove envs * chore: cleanup * chore: remove min-req * chore: add setup * chore: fix setuppy * fix: fix docs build
- Loading branch information
1 parent
f9c9390
commit 0c9e6ac
Showing
8 changed files
with
100 additions
and
94 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
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,29 @@ | ||
import sys | ||
|
||
sys.stderr.write( | ||
""" | ||
=============================== | ||
Unsupported installation method | ||
=============================== | ||
app-model does not support installation with `python setup.py install`. | ||
Please use `python -m pip install .` instead. | ||
""" | ||
) | ||
sys.exit(1) | ||
|
||
|
||
# The below code will never execute, however GitHub is particularly | ||
# picky about where it finds Python packaging metadata. | ||
# See: https://github.com/github/feedback/discussions/6456 | ||
# | ||
# To be removed once GitHub catches up. | ||
|
||
setup( | ||
name="app-model", | ||
install_requires=[ | ||
"psygnal>=0.3.4", | ||
"pydantic>=1.8", | ||
"in-n-out>=0.1.5", | ||
"typing_extensions", | ||
], | ||
) |
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
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