-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Python stubs * Add stub install script
- Loading branch information
Showing
6 changed files
with
1,190 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
# experimental script to install stubs for python packages | ||
# this script is not yet integrated into the main build process | ||
|
||
# install stubs for all packages in the current environment | ||
# this is useful for IDEs that support type hinting | ||
|
||
path=$(python3 -m site --user-site) | ||
echo "Installing stubs in $path" | ||
cp -r stubs/* $path |
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,3 @@ | ||
from ._viennaps2d import * | ||
|
||
def ReadConfigFile(fileName: str): ... |
Oops, something went wrong.
884d2af
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may be able to do this more efficiently from the
pyproject.toml