Skip to content

Commit

Permalink
Add stub install script
Browse files Browse the repository at this point in the history
  • Loading branch information
tobre1 committed Mar 27, 2024
1 parent 70a2064 commit f9031e7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions python/install-stubs.sh
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

0 comments on commit f9031e7

Please sign in to comment.